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 different types of ResultSet?
Why did my jdbc code throw a rollback sqlexception?
please tell me the name and url path for type-4 driver ?
What is jdbc vs odbc?
What do you mean by metadata and why we are using it?
What is difference between java.util.Date and java.sql.Date?
Describe the steps needed to execute a sql query using jdbc.
What is SQL Warning? How to retrieve SQL warnings in the JDBC program?
How we store procedure in oralce for callable statements in jdbc
The new features of the JDBC 2.0 API, will be supported for JDBC-ODBC Bridge?
What is a rollback in jdbc?
What is data source in java?
What is the difference between setmaxrows(int) and setfetchsize(int)?
what happen if we set JDBC string to NULL?
How can we move the cursor in a scrollable result set?