• To establish a connection we
need to have an appropriate driver, connected to the DBMS.
• The below line of code illustrates the idea:
Code:
String url = “jdbc:odbc: rima”;
Connection con = DriverManager.getConnection(url, “rima”, “J8?);
• The below line of code illustrates the idea:
Code:
String url = “jdbc:odbc: rima”;
Connection con = DriverManager.getConnection(url, “rima”, “J8?);
No comments:
Post a Comment