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
Describe how the jdbc application works.
What are jdbc?
What does executequery return in java?
What are the exceptions in jdbc?
Explain about DSN?
What is the use of callablestatement? Name the method, which is used to prepare a callablestatement.
How do I find whether a parameter exists in the request object?
How do I know which jdbc driver to use?
Is jdbctemplate thread safe?
What causes no suitable driver error?
What is jdbc stand for?
How does JDBC API helps us in achieving loose coupling between Java Program and JDBC Drivers API?
What is com mysql jdbc driver?
How to achieve JDBC Connection Pooling using JDBC DataSource and JNDI in Apache Tomcat Server?
Why isn't the java.sql.DriverManager class being found?