1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00
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.
This commit is contained in:
Marc G. Fournier
1998-06-03 18:56:09 +00:00
parent 2a74511bf4
commit 9142e54e73

View File

@ -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 \
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
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 \
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)
@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
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
####################################################################### #######################################################################