dcsimg
How to write a sample Java Bean to access data from the RDBMS( Oracle).
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sree_kiran
Posted On:   Friday, January 25, 2002 01:03 PM

I want to write Java Beans to access data in a Oracle database. How do i go about it...?

Re: How to write a sample Java Bean to access data from the RDBMS( Oracle).

Posted By:   Sujatha_Gopal  
Posted On:   Monday, February 25, 2002 08:48 PM

Just a pseudo code explantion how to write the Java Bean to access data in a oracle database



1. Write a method to connect to the database.


2. Write the method to execute the Insert, Update, Delete queries say executeQuery.


3. Write the method to fetch the data from the table say getRecordset.


4. Finally a method to close the Connection.




The parameters to pass to the executeQuery and getRecordset is the query to get executed.
About | Sitemap | Contact