Java Database Connectivity: Difference between revisions

Content deleted Content added
definition
Line 36:
"myPassword" );
 
The URL used is dependent upon the particular JDBC driver. It will always begin with the "jdbc:" protocol, but the rest is uptoup to the particular vendor. Once a connection is established, a statement must be created.
 
Statement stmt = conn.createStatement();