Java / JDBC
What are the steps involved in creating a JDBC connection?
Creating JDBC connection in a Java program involves 2 steps.
Load the JDBC Driver using Class.forName (String driverClass). Driver gets registered with the DriverManager and loads.
Invoke the getConnection() method of DriverManager to obtain a JDBC connection. getConnection also takes Database URL, user name and password as arguments.
More Related questions...