title: Loading JDBC driver without Class.forName
body: <p>The <a href="http://docs.oracle.com/javase/tutorial/jdbc/basics/connecting.html" rel="nofollow noreferrer" title="Oracle Documentation">Oracle JDBC tutorial</a> says</p>
  <blockquote>
  <p>In previous versions of JDBC, to obtain a connection, you first had to
  initialize  your JDBC driver by calling the method Class.forName. This
  methods required an  object of type java.sql.Driver. Each JDBC driver
  contains  one or more classes that implements the interface
  java.sql.Driver.  The drivers for Java DB are
  org.apache.derby.jdbc.EmbeddedDriver and
  org.apache.derby.jdbc.ClientDriver,  and the one for MySQL Connector/J
  is com.mysql.jdbc.Driver.  See the documentation of your DBMS driver
  to obtain the  name of the class that implements the interface
  java.sql.Driver.</p>
  <p>Any JDBC 4.0 drivers that are found in your  class path are automatically loaded.  (However, you must manually load any drivers
  prior to JDBC 4.0  with the method Class.forName.)</p>
  </blockquote>
  <p>But when I remove <code>Class.forName</code> it gives an error <em>No Driver found</em>. I am using <code>ojdbc14</code> driver. How do we implement connection without <code>Class.forName</code>?</p>