Commit 9142e54e authored by Marc G. Fournier's avatar Marc G. Fournier

From: Peter T Mount <patches@maidast.demon.co.uk>

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.
parent 2a74511b
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# Makefile for Java JDBC interface # Makefile for Java JDBC interface
# #
# IDENTIFICATION # 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 \ ...@@ -78,6 +78,7 @@ OBJS= postgresql/CallableStatement.class \
postgresql/largeobject/LargeObjectManager.class \ postgresql/largeobject/LargeObjectManager.class \
postgresql/util/PGobject.class \ postgresql/util/PGobject.class \
postgresql/util/PGtokenizer.class \ postgresql/util/PGtokenizer.class \
postgresql/util/Serialize.class \
postgresql/util/UnixCrypt.class postgresql/util/UnixCrypt.class
# If you have problems with the first line, try the second one. # If you have problems with the first line, try the second one.
...@@ -123,6 +124,7 @@ postgresql/largeobject/LargeObject.class: postgresql/largeobject/LargeObject.jav ...@@ -123,6 +124,7 @@ postgresql/largeobject/LargeObject.class: postgresql/largeobject/LargeObject.jav
postgresql/largeobject/LargeObjectManager.class: postgresql/largeobject/LargeObjectManager.java postgresql/largeobject/LargeObjectManager.class: postgresql/largeobject/LargeObjectManager.java
postgresql/util/PGobject.class: postgresql/util/PGobject.java postgresql/util/PGobject.class: postgresql/util/PGobject.java
postgresql/util/PGtokenizer.class: postgresql/util/PGtokenizer.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 postgresql/util/UnixCrypt.class: postgresql/util/UnixCrypt.java
####################################################################### #######################################################################
...@@ -131,7 +133,8 @@ EX= example/basic.class \ ...@@ -131,7 +133,8 @@ EX= example/basic.class \
example/blobtest.class \ example/blobtest.class \
example/datestyle.class \ example/datestyle.class \
example/psql.class \ example/psql.class \
example/ImageViewer.class example/ImageViewer.class \
example/Objects.class
# This rule builds the examples # This rule builds the examples
examples: postgresql.jar $(EX) examples: postgresql.jar $(EX)
...@@ -151,6 +154,7 @@ examples: postgresql.jar $(EX) ...@@ -151,6 +154,7 @@ examples: postgresql.jar $(EX)
@echo " example.datestyle Shows how datestyles are handled" @echo " example.datestyle Shows how datestyles are handled"
@echo " example.ImageViewer Example application storing images" @echo " example.ImageViewer Example application storing images"
@echo " example.psql Simple java implementation of psql" @echo " example.psql Simple java implementation of psql"
@echo " example.Objects Demonstrates Object Serialisation"
@echo ------------------------------------------------------------ @echo ------------------------------------------------------------
@echo @echo
...@@ -159,4 +163,5 @@ example/blobtest.class: example/blobtest.java ...@@ -159,4 +163,5 @@ example/blobtest.class: example/blobtest.java
example/datestyle.class: example/datestyle.java example/datestyle.class: example/datestyle.java
example/psql.class: example/psql.java example/psql.class: example/psql.java
example/ImageViewer.class: example/ImageViewer.java example/ImageViewer.class: example/ImageViewer.java
example/Objects.class: example/Objects.java
####################################################################### #######################################################################
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment