What are the flow statements of JDBC?

A URL string -->getConnection-->DriverManager-->Driver-->Connection-->Statement-->executeQuery-->ResultSet.

Showing Answers 1 - 4 of 4 Answers

Suresh Pendyala

  • May 7th, 2005
 

1). Register the Driver 
2) load the Driver 
3)get the connection 
4) create the statement 
5) Execute the query 
6) fetch the results with ResultSet

kalyan789

  • Apr 23rd, 2009
 

I guess, order is like this

1) load driver
2) register driver to driver manager
3) get connection from driver manager
4) get statement object from connection
5) create queries and execute them
6) close connection

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions