Forwarding this to pgsql-jdbc mailing list.
On 08/18/2014 06:18 AM, Christopher Barham wrote:
> Hi,
>
>
>
> Just spotted a possible issue in the Documentation around loading the
> JDBC driver. This page documents how:
> http://jdbc.postgresql.org/documentation/93/load.html
>
> However, as of JDK6/JDBC 4.0, it should not be necessary to use the
>
> Class.forName("org.postgresql.Driver");
>
> method to load the JDBC driver as they are automatically loaded – see
> Javadoc here
>
> http://docs.oracle.com/javase/8/docs/api/java/sql/DriverManager.html
>
>
>
> Cheers,
>
> Chris
>
>
>
--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com