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
How many jdbc driver types are there?
What is an SQL Locator?
Explain creation of statement object with connection method create method with help of an example.
What is the difference between execute, executeQuery, executeUpdate?
Why would you use setautocommit(false) in jdbc?
What is jdbc connection class?
What is the JDBC?
Is jdbc object oriented?
What are the standard isolation levels defined by JDBC?
What is the use of setFetchSize() and setMaxRows() methods in Statement?
What are the benefits of PreparedStatement over Statement?
How many locking systems are there in jdbc?
What is phantom read and which isolation level prevents it?
explain about special characters?
What is jdbc type?