Skip site navigation (1) Skip section navigation (2)

TypeInfoCache

From: Daniel Migowski <dmigowski(at)ikoffice(dot)de>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: TypeInfoCache
Date: 2007-12-19 14:40:12
Message-ID: 47692D4C.3060305@ikoffice.de (view raw or flat)
Thread:
Lists: pgsql-jdbc
Index: TypeInfoCache.java
===================================================================
RCS file: /cvsroot/jdbc/pgjdbc/org/postgresql/jdbc2/TypeInfoCache.java,v
retrieving revision 1.11
diff -u -r1.11 TypeInfoCache.java
--- TypeInfoCache.java	2 Dec 2007 06:48:43 -0000	1.11
+++ TypeInfoCache.java	19 Dec 2007 14:36:22 -0000
@@ -71,7 +71,7 @@
         {"char", new Integer(Oid.CHAR), new Integer(Types.CHAR), "java.lang.String", new Integer(Oid.CHAR_ARRAY)},
         {"bpchar", new Integer(Oid.BPCHAR), new Integer(Types.CHAR), "java.lang.String", new Integer(Oid.BPCHAR_ARRAY)},
         {"varchar", new Integer(Oid.VARCHAR), new Integer(Types.VARCHAR), "java.lang.String", new Integer(Oid.VARCHAR_ARRAY)},
-        {"text", new Integer(Oid.TEXT), new Integer(Types.VARCHAR), "java.lang.String", new Integer(Oid.TEXT_ARRAY)},
+        {"text", new Integer(Oid.TEXT), new Integer(Types.LONGVARCHAR), "java.lang.String", new Integer(Oid.TEXT_ARRAY)},
         {"name", new Integer(Oid.NAME), new Integer(Types.VARCHAR), "java.lang.String", new Integer(Oid.NAME_ARRAY)},
         {"bytea", new Integer(Oid.BYTEA), new Integer(Types.BINARY), "[B", new Integer(Oid.BYTEA_ARRAY)},
         {"bool", new Integer(Oid.BOOL), new Integer(Types.BIT), "java.lang.Boolean", new Integer(Oid.BOOL_ARRAY)},


Attachment: pgjdbc.patch
Description: text/plain (1.3 KB)
Attachment: unknown_filename
Description: text/html (1.0 KB)

pgsql-jdbc by date

Next:From: Daniel MigowskiDate: 2007-12-19 14:42:51
Subject: TypeInfoCache
Previous:From: Matt MagoffinDate: 2007-12-19 09:18:25
Subject: setting PreparedStatement parameter using "at time zone interval ?"

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group