How can you make the connection?


To establish a connection you need to have the appropriate driver connect to the DBMS.
The following line of code illustrates the general idea:

String url = “jdbc:odbc:javastuff”;
Connection con = DriverManager.getConnection(
      url, “javastuff”, “J8");

Attended Any Interviews ? Please send us Questions to faqs@javastuff.in