Java Database Connectivity: Difference between revisions

Content deleted Content added
Example: (Some JVMs also require the class to be instantiated with .newInstance().)
Line 23:
== Example ==
 
The method {{Javadoc:SE|member=forName(String)|java/lang|Class|forName(java.lang.String)}} is used to load the JDBC driver class. The line below causes the JDBC driver from ''some jdbc vendor'' to be loaded into the application. (Some JVMs also require the class to be instantiated with .newInstance().)
 
Class.forName( "com.somejdbcvendor.TheirJdbcDriver" );