valdrus (valdrus) wrote in java_faq,
valdrus
valdrus
java_faq

What are the steps in the JDBC connection?

Steps are :
1. Load or register the driver with Class.forName().
2. Establish Connection with the database with Connection Interface.
3. Create Statement objects for Queries.
4. Execute the statements which may or may not return ResultSet.
5. Manipulate the ResultSet.
6. Close the Statements and Connection objects.
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded 

  • 0 comments