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
Is jdbc connection secure?
What are 4 drivers available in JDBC? At what situation are four of the drivers used?
What is the use of setFetchSize() and setMaxRows() methods in Statement?
What is correlated subquery?
What is the role of the jdbc drivermanager class?
What is database deadlock ?
How to check jdbc driver version in websphere?
Differentiate between stored procedure and functions?
Is not bound in this context unable to find jdbc spring boot?
How can you make the connection using jdbc?
What are the 4 types of jdbc drivers?
Which jdbc drivers will run your program?
Which of the attributes in the monitoring tab for a jdbc connection pool in the administrative console tell us how many clients are currently waiting for a connection?
What is jdbc oracle thin?
What are different types of ResultSet?