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 do you insert images into database using jdbc?
What are the standard isolation levels defined by JDBC?
How to rollback a JDBC transaction?
What is new in JDBC 2.0?
What happens if we don't close the connection in jdbc?
When does the result for an sql statement return null?
Why do we use jdbc statements?
What are types of resultset?
What does the jdbc driver interface do?
What is in terms of jdbc a datasource?
What is namedparameterjdbctemplate?
What are the main steps in java to make JDBC connectivity?
Is it possible to connect to multiple databases simultaneously? Using single statement can one update or extract data from multiple databases?
What is an odbc driver?
Is possible to open a connection to a database with exclusive mode with JDBC?