Answers

Question and Answer:

  Home  JDBC

⟩ How can you make the connection using JDBC?

In establishing a connection is to have the appropriate driver connect to the DBMS. The following line of code illustrates the general idea:

E.g.

String url = “jdbc:odbc:Fred”;

Connection con = DriverManager.getConnection(url, “Fernanda”, “J8”);

 160 views

More Questions for you: