Answer Posted / suresh kumar
to create connection first we have to load the driver using
class.forName(drivername)
then register the driver using DriverManager.getConnection()
afterwards you can create Statement object and u can
execute the qurey
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are database warnings in jdbc and how can we handle database warnings in jdbc?
Why would you use setautocommit(false) in jdbc?
What is meant by dao?
What is com mysql jdbc driver?
How do I start debugging problems related to the JDBC API?
Explain jdbc savepoint?
How to set the attribute concurrency in resultset?
Where is mysql jdbc driver located?
Does sql allow null values ?
What is the use of setFetchSize() and setMaxRows() methods in Statement?
What are the differences between statement and preparedstatement interface?
What is odbc. how is it related to sql cli?
Why do I have to reaccess the database for Array, Blob, and Clob data?
Explain the various types of locking system in jdbc?
What is odbc jdbc?