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
What are the jdbc statements?
What are the factors that the jdbc driver performance depends upon?
Write an sql to find all records having all numeric characters in a field ?
What is hbm xml?
What is the function of setautocommit?
What is the role of class.forname while loading drivers?
What is JDBC Driver interface?
What is phantom read and which isolation level prevents it?
What does jdbc stand for?
What is the difference between execute, executeQuery, executeUpdate?
How many types of jdbc drivers are available?
What is jdbc odbc bridge?
Why we use jdbc instead of odbc?
Which is better jpa or jdbc?
How to achieve JDBC Connection Pooling using JDBC DataSource and JNDI in Apache Tomcat Server?