This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to tag REL8_1_405 in repository libpostgresql-jdbc-java.
commit 60ae42a41afbf71c608f962f8d8643af68115abd Author: Kris Jurka <[email protected]> Date: Thu Feb 9 16:29:20 2006 +0000 The TypeInfoCache had a static Map for the pg type name to java.sql.Types conversion, but it was being reinitialized for each new Connection. Even though its content is static make this an instance variable for simplicity. Till Toenges --- org/postgresql/jdbc2/TypeInfoCache.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org/postgresql/jdbc2/TypeInfoCache.java b/org/postgresql/jdbc2/TypeInfoCache.java index e8d98f7..f9c54e3 100644 --- a/org/postgresql/jdbc2/TypeInfoCache.java +++ b/org/postgresql/jdbc2/TypeInfoCache.java @@ -3,7 +3,7 @@ * Copyright (c) 2005, PostgreSQL Global Development Group * * IDENTIFICATION - * $PostgreSQL$ + * $PostgreSQL: pgjdbc/org/postgresql/jdbc2/TypeInfoCache.java,v 1.1 2005/04/10 21:54:16 jurka Exp $ * *------------------------------------------------------------------------- */ @@ -30,7 +30,7 @@ import org.postgresql.util.PSQLException; public class TypeInfoCache { // pgname (String) -> java.sql.Types (Integer) - private static Map _pgNameToSQLType; + private Map _pgNameToSQLType; // pgname (String) -> java class name (String) // ie "text" -> "java.lang.String" -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libpostgresql-jdbc-java.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

