Home arrow Java arrow Page 4 - 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 - Adding data to the page
(Page 4 of 5 )

You can drag and drop the data objects, such as a table, to the page. For example if you drag and drop the Employees table to the page you will be creating SessionBean1 as shown. You are effectively adding rows of data from the query "Select * from HR.EMPLOYEES".

Editing the query in the query editor

Now double click the employeesRowset icon under SessionBean1. This opens up the query editor as shown in the next picture. The query can be "run" to review the rows returned. This will populate a pane below the SQL view where you can review the results. If you right click on an empty area, you can pop open the context sensitive menu from which you can run the query as well as add more tables, or add grouping information to your query.

The result of running the query together with the SQL statement is shown in the next picture. You may modify the query until you are satisfied with the results of the query. As you can see the query was modified to drop a number of columns by deselecting them; a criterion is added, the results sorted by LastName, and the column aliases added.


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 11 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials