JDBC. Database Connectivity. Relational databases Manage all information generated by businesses Centric to business applications Established and Mature Application developers require standard interface to relational databases
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
JDBC Driver Manager
JDBC Driver API
database access protocol
"INSERT INTO password (Name, Password) VALUES ('Dave', 'blah')"
Connection foo = DriverManager.getConnection(DBURL);
Connection con = DriverManager.getConnection(“jdbc:microsoft:sqlserver://server1:1433”, userName, password);
Connection con = DriverManager.getConnection("jdbc:odbc:people", userName, password);
Statement stmt = conn.createStatement ();
ResultSet rs = stmt.executequery("SELECT * FROM password");
//name is the 1st attribute of Student
while (rset.next ())
System.out.println (rset.getString (1));
//close the result set, statement, and the connection