Originally posted by Chetan Parekh:
Hello All!
To select data from database we have to follow 4 steps each times:
Now since we are using WebLogic, it has its own Connection management system, so I can skip step 1) and 2).
Now for step 3) and 4) I am looking for a utility where I just have to pass a connection to the method and method will create Statement object and will execute the appropriate query.
i.e.
So whenever I have to select anything from the database, I have to do just
Similar for update/insert/delete.
Are there any utilities that this?
Reg,
Chetan
[ April 26, 2005: Message edited by: Chetan Parekh ]
Hi u want to use Utility class for all ur dbase connections just use DAO (Data Access object Design
pattern) just grab some details abtr this dao ...
so can code ...easlily...
Thx and Regards
G R Ganesh Gowtham
grgowtham_cse@yahoo.com