Patch to remove connection hook and JDK 1.3 dependencies
От
Barry Lind
Тема
Patch to remove connection hook and JDK 1.3 dependencies
Дата
Msg-id
3B3FF6E9.7020605@xythos.com
Список
Attached is a patch to remove the ConnectionHook functionality and thus
the JDK 1.3 dependency. For a further explanation see my posting to the
JDBC list on Friday, explaining why this is being done.
thanks,
--Barry
PS. In addition to the diffs in this patch, the file
src/interfaces/jdbc/org/postgresql/core/ConnectionHook.java is obsoleted
and needs to be removed from 7.2, but of course the file is still needed
for 7.1 builds.
*** ./interfaces/jdbc/build.xml.orig Fri Jun 29 19:06:30 2001
--- ./interfaces/jdbc/build.xml Fri Jun 29 19:09:20 2001
***************
*** 37,43 ****
-->
-
--- 37,42 ----
***************
*** 58,68 ****
-
-
-
-
-
--- 57,62 ----
***************
*** 104,110 ****
-
--- 98,103 ----
*** ./interfaces/jdbc/org/postgresql/Driver.java.in.orig Fri Jun 29 19:13:40 2001
--- ./interfaces/jdbc/org/postgresql/Driver.java.in Fri Jun 29 19:16:58 2001
***************
*** 36,44 ****
// Placing it here, means that the driver is registered once only.
java.sql.DriverManager.registerDriver(new Driver());
- // New in 7.1 - register ourselves with the JVM - JDK1.3+ only
- @JDK1.3ONLY@org.postgresql.core.ConnectionHook.init();
-
} catch (SQLException e) {
e.printStackTrace();
}
--- 36,41 ----
В списке pgsql-jdbc по дате отправления