Wednesday, 15 February 2012

What are the steps required to execute a query in JDBC? | Java JDBC


First we need to create an instance of a JDBC driver or load JDBC drivers, then we need to register this driver with DriverManager class. Then we can open a connection. By using this connection , we can create a statement object and this object will help us to execute the query.

No comments: