Home arrow Java arrow Page 2 - Querying Oracle 10G XE using Sun Java Creator 2
JAVA

Querying Oracle 10G XE using Sun Java Creator 2


Microsoft ASP.NET 2.0 provides an excellent platform for developing data centric applications. Data manipulation within the IDE is supported by an excellent query editor. Sun Java Studio Creator IDE with the JSF framework also has excellent support and this article shows how it is carried out.

Author Info:
By: Jayaram Krishnaswamy
Rating: 5 stars5 stars5 stars5 stars5 stars / 4
December 06, 2006
TABLE OF CONTENTS:
  1. · Querying Oracle 10G XE using Sun Java Creator 2
  2. · Creating a table in Oracle 10G XE
  3. · Adding an Oracle 10G XE data source to Creator 2
  4. · Adding data to the page
  5. · Displaying the Query results

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Querying Oracle 10G XE using Sun Java Creator 2 - Creating a table in Oracle 10G XE
(Page 2 of 5 )

Please review the articles on Oracle 10G XE at the sister site Devshed.com. You can create a table in Oracle 10G XE after logging into the database and accessing the Create-->Table shortcut from the home directory as shown in the next picture.

This opens the graphic user interface wizard which is used for creating a table as shown. The name for the validation table is OraVal (the name given can be anything that is allowed) which is inserted for the table name. It has only one column, Val_ID, which has a numeric data type as shown in the picture.

In the next step, you provide the Primary Key - Val_ID and create a Sequence as shown. The Primary Key is the column created in the earlier step. The sequence is a new sequence called ORAVAL_SEQ, the default.

Skip this step where you need to provide a foreign key. This table will have only one column.

You accept the default provided by Oracle and move on to the final step.

Here your confirmation is needed for creating the table. The table ORAVAL will be created in the HR Schema when you click on the Create button. When you expand the SQL button, you can review the SQL statements that created the table. If you need to see the table structure you may go back to the object browser and look at the list of tables in the HR Schema.


blog comments powered by Disqus
JAVA ARTICLES

- Deploying Multiple Java Applets as One
- Deploying Java Applets
- Understanding Deployment Frameworks
- Database Programming in Java Using JDBC
- Extension Interfaces and SAX
- Entities, Handlers and SAX
- Advanced SAX
- Conversions and Java Print Streams
- Formatters and Java Print Streams
- Java Print Streams
- Wildcards, Arrays, and Generics in Java
- Wildcards and Generic Methods in Java
- Finishing the Project: Java Web Development ...
- Generics and Limitations in Java
- Getting Started with Java Web Development in...

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 1 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials