]> granicus.if.org Git - postgresql/commitdiff
From: Peter T Mount <patches@maidast.demon.co.uk>
authorMarc G. Fournier <scrappy@hub.org>
Wed, 3 Jun 1998 18:56:09 +0000 (18:56 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Wed, 3 Jun 1998 18:56:09 +0000 (18:56 +0000)
Bug fixes:

        PreparedStatement.setObject didn't handle short's

        ResultSet.getDate() now handles null dates (returns null rather
        than a NullPointerException)

        ResultSetMetaData.getPrecision() now returns 0 for VARCHAR

New features:

        Field now caches the typename->oid in a Hashtable to speed things
        up. It removes the need for some unnecessary queries to the
        backend.

        PreparedStatement.toString() now returns the sql statement that
        it will send to the backend. Before it did nothing.

        DatabaseMetaData.getTypeInfo() now does something.

src/interfaces/jdbc/Makefile

index 4ebb6c2c48bad94009eb284c67998ba4217a57a1..90c86c2fb379d7c8abbaf5395827bdb56d0c2b38 100644 (file)
@@ -4,7 +4,7 @@
 #    Makefile for Java JDBC interface
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/interfaces/jdbc/Attic/Makefile,v 1.7 1998/04/06 00:30:36 momjian Exp $
+#    $Header: /cvsroot/pgsql/src/interfaces/jdbc/Attic/Makefile,v 1.8 1998/06/03 18:56:09 scrappy Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -78,6 +78,7 @@ OBJS= postgresql/CallableStatement.class \
        postgresql/largeobject/LargeObjectManager.class \
        postgresql/util/PGobject.class \
        postgresql/util/PGtokenizer.class \
+       postgresql/util/Serialize.class \
        postgresql/util/UnixCrypt.class
 
 # If you have problems with the first line, try the second one.
@@ -123,6 +124,7 @@ postgresql/largeobject/LargeObject.class: postgresql/largeobject/LargeObject.jav
 postgresql/largeobject/LargeObjectManager.class: postgresql/largeobject/LargeObjectManager.java
 postgresql/util/PGobject.class:                postgresql/util/PGobject.java
 postgresql/util/PGtokenizer.class:     postgresql/util/PGtokenizer.java
+postgresql/util/Serialize.class:       postgresql/util/Serialize.java
 postgresql/util/UnixCrypt.class:       postgresql/util/UnixCrypt.java
 
 #######################################################################
@@ -131,7 +133,8 @@ EX= example/basic.class \
        example/blobtest.class \
        example/datestyle.class \
        example/psql.class \
-       example/ImageViewer.class
+       example/ImageViewer.class \
+       example/Objects.class
 
 # This rule builds the examples
 examples:      postgresql.jar $(EX)
@@ -151,6 +154,7 @@ examples:   postgresql.jar $(EX)
        @echo "  example.datestyle    Shows how datestyles are handled"
        @echo "  example.ImageViewer  Example application storing images"
        @echo "  example.psql         Simple java implementation of psql"
+       @echo "  example.Objects      Demonstrates Object Serialisation"
        @echo ------------------------------------------------------------
        @echo
 
@@ -159,4 +163,5 @@ example/blobtest.class:                     example/blobtest.java
 example/datestyle.class:               example/datestyle.java
 example/psql.class:                    example/psql.java
 example/ImageViewer.class:             example/ImageViewer.java
+example/Objects.class:                 example/Objects.java
 #######################################################################