diff options
author | Barry Lind <barry@xythos.com> | 2002-01-15 06:55:13 +0000 |
---|---|---|
committer | Barry Lind <barry@xythos.com> | 2002-01-15 06:55:13 +0000 |
commit | d013dbed75273d83785af62f0c0506930820618e (patch) | |
tree | b684e789a4e9362015277c3efa8dc0e3e7425355 /src | |
parent | eb410b6bde2fd6a6aa1307d8bb07d35fceb2b5c8 (diff) | |
download | postgresql-d013dbed75273d83785af62f0c0506930820618e.tar.gz postgresql-d013dbed75273d83785af62f0c0506930820618e.zip |
Applied patch from Ryouichi Matsuda <r-matuda@sra.co.jp> where the jdbc
driver was not properly handling timestamptz datatype when using the
getObject() method on ResultSet. Fix adds this datatype to the object mappings.
Diffstat (limited to 'src')
-rw-r--r-- | src/interfaces/jdbc/org/postgresql/jdbc1/Connection.java | 6 | ||||
-rw-r--r-- | src/interfaces/jdbc/org/postgresql/jdbc2/Connection.java | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/jdbc1/Connection.java b/src/interfaces/jdbc/org/postgresql/jdbc1/Connection.java index 4507a272852..4d3e087f76b 100644 --- a/src/interfaces/jdbc/org/postgresql/jdbc1/Connection.java +++ b/src/interfaces/jdbc/org/postgresql/jdbc1/Connection.java @@ -17,7 +17,7 @@ import org.postgresql.largeobject.*; import org.postgresql.util.*; /* - * $Id: Connection.java,v 1.14 2001/11/25 23:26:58 barry Exp $ + * $Id: Connection.java,v 1.15 2002/01/15 06:55:13 barry Exp $ * * A Connection represents a session with a specific database. Within the * context of a Connection, SQL statements are executed and results are @@ -180,7 +180,7 @@ public class Connection extends org.postgresql.Connection implements java.sql.Co "bool", "date", "time", - "abstime", "timestamp" + "abstime", "timestamp", "timestamptz" }; /* @@ -204,7 +204,7 @@ public class Connection extends org.postgresql.Connection implements java.sql.Co Types.BIT, Types.DATE, Types.TIME, - Types.TIMESTAMP, Types.TIMESTAMP + Types.TIMESTAMP, Types.TIMESTAMP, Types.TIMESTAMP }; diff --git a/src/interfaces/jdbc/org/postgresql/jdbc2/Connection.java b/src/interfaces/jdbc/org/postgresql/jdbc2/Connection.java index 355c240fab0..e3ff6393940 100644 --- a/src/interfaces/jdbc/org/postgresql/jdbc2/Connection.java +++ b/src/interfaces/jdbc/org/postgresql/jdbc2/Connection.java @@ -17,7 +17,7 @@ import org.postgresql.largeobject.*; import org.postgresql.util.*; /* - * $Id: Connection.java,v 1.16 2001/11/25 23:26:59 barry Exp $ + * $Id: Connection.java,v 1.17 2002/01/15 06:55:13 barry Exp $ * * A Connection represents a session with a specific database. Within the * context of a Connection, SQL statements are executed and results are @@ -303,7 +303,7 @@ public class Connection extends org.postgresql.Connection implements java.sql.Co "bool", "date", "time", - "abstime", "timestamp", + "abstime", "timestamp", "timestamptz", "_bool", "_char", "_int2", "_int4", "_text", "_oid", "_varchar", "_int8", "_float4", "_float8", "_abstime", "_date", "_time", "_timestamp", "_numeric", @@ -331,7 +331,7 @@ public class Connection extends org.postgresql.Connection implements java.sql.Co Types.BIT, Types.DATE, Types.TIME, - Types.TIMESTAMP, Types.TIMESTAMP, + Types.TIMESTAMP, Types.TIMESTAMP, Types.TIMESTAMP, Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY, |