the steps involved in establishing a JDBC
connection
Answers
Answer:
Import JDBC packages.
Import JDBC packages.Load and register the JDBC driver.
Import JDBC packages.Load and register the JDBC driver.Open a connection to the database.
Import JDBC packages.Load and register the JDBC driver.Open a connection to the database.Create a statement object to perform a query.
Import JDBC packages.Load and register the JDBC driver.Open a connection to the database.Create a statement object to perform a query.Execute the statement object and return a query resultset.
Import JDBC packages.Load and register the JDBC driver.Open a connection to the database.Create a statement object to perform a query.Execute the statement object and return a query resultset.Process the resultset.
Import JDBC packages.Load and register the JDBC driver.Open a connection to the database.Create a statement object to perform a query.Execute the statement object and return a query resultset.Process the resultset.Close the resultset and statement objects.
Import JDBC packages.Load and register the JDBC driver.Open a connection to the database.Create a statement object to perform a query.Execute the statement object and return a query resultset.Process the resultset.Close the resultset and statement objects.Close the connection.