Обсуждение: BUG #11205: Documentation - loading the JDBC driver

Поиск
Список
Период
Сортировка

BUG #11205: Documentation - loading the JDBC driver

От
cbarham@pobox.com
Дата:
The following bug has been logged on the website:

Bug reference:      11205
Logged by:          Chris Barham
Email address:      cbarham@pobox.com
PostgreSQL version: 9.3.5
Operating system:   N/A
Description:

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