mirror of
https://github.com/postgres/postgres.git
synced 2025-08-30 06:01:21 +03:00
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.
This commit is contained in:
@@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user