Answer Posted / ramu
. To create connection first we have to load the driver using
class.forName(drivername)
. Get a connection to the database using DriverManager.getConnection()
after wards you can create Statement object and u can
execute the query
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can you know about drivers and database information ?
What are the jdbc drivers in java?
Differentiate between a statement and a preparedstatement.
Give an example for getXXX method?
Does JDBC support stored procedures?
Why do we need jdbc driver?
Where is jdbc url mysql?
Describe the steps needed to execute a sql query using jdbc.
What are the basic exceptions in jdbc?
Why can't Tomcat find my Oracle JDBC drivers in classes111.zip?
Expalin the method of calling a stored procedure from jdbc.
How can I use the JDBC API to access a desktop database like Microsoft Access over the network?
What is createstatement method in java?
What is the difference between jdbc and odbc?
What is resultset in jdbc with example?