summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/org/postgresql/test
diff options
context:
space:
mode:
authorPeter Mount <peter@retep.org.uk>2001-02-16 16:45:01 +0000
committerPeter Mount <peter@retep.org.uk>2001-02-16 16:45:01 +0000
commitcdbd27cb2359dad1baafb9ed5a80b309177476fe (patch)
tree5612cb86c8e4e378a3a5b54e2375cddfdb049b27 /src/interfaces/jdbc/org/postgresql/test
parent016f0eed2441e5925c7c29f055bff3674ace2e53 (diff)
Some more updates...
Fri Feb 17 15:11:00 GMT 2001 peter@retep.org.uk - Reduced the object overhead in PreparedStatement by reusing the same StringBuffer object throughout. Similarly SimpleDateStamp's are alse reused in a thread save manner. - Implemented in PreparedStatement: setNull(), setDate/Time/Timestamp using Calendar, setBlob(), setCharacterStream() - Clob's are now implemented in ResultSet & PreparedStatement! - Implemented a lot of DatabaseMetaData & ResultSetMetaData methods. We have about 18 unimplemented methods left in JDBC2 at the current time.
Diffstat (limited to 'src/interfaces/jdbc/org/postgresql/test')
-rw-r--r--src/interfaces/jdbc/org/postgresql/test/jdbc2/TimestampTest.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/test/jdbc2/TimestampTest.java b/src/interfaces/jdbc/org/postgresql/test/jdbc2/TimestampTest.java
index 4e3022f0989..6685e2531ae 100644
--- a/src/interfaces/jdbc/org/postgresql/test/jdbc2/TimestampTest.java
+++ b/src/interfaces/jdbc/org/postgresql/test/jdbc2/TimestampTest.java
@@ -5,7 +5,7 @@ import junit.framework.TestCase;
import java.sql.*;
/**
- * $Id: TimestampTest.java,v 1.1 2001/02/13 16:39:05 peter Exp $
+ * $Id: TimestampTest.java,v 1.2 2001/02/16 16:45:01 peter Exp $
*
* This has been the most controversial pair of methods since 6.5 was released!
*
@@ -111,7 +111,8 @@ public class TimestampTest extends TestCase {
t = rs.getTimestamp(1);
assert(t!=null);
- assert(t.equals(getTimestamp(1970,6,2,7,13,0)));
+ // Seems Daylight saving is ignored?
+ assert(t.equals(getTimestamp(1970,6,2,8,13,0)));
assert(!rs.next()); // end of table. Fail if more entries exist.