summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/Makefile
diff options
context:
space:
mode:
authorPeter Mount <peter@retep.org.uk>2001-01-18 14:50:15 +0000
committerPeter Mount <peter@retep.org.uk>2001-01-18 14:50:15 +0000
commit45b5d792afa60ae24d57cdceaaec0e03cf6abb2a (patch)
treeb16cf82d422f6226b4dd6086e836564ce4e1438b /src/interfaces/jdbc/Makefile
parent89ac643964bff695309b66410205593dec4f1a03 (diff)
downloadpostgresql-45b5d792afa60ae24d57cdceaaec0e03cf6abb2a.tar.gz
Thu Jan 18 12:24:00 GMT 2001 peter@retep.org.uk
- These methods in org.postgresql.jdbc2.ResultSet are now implemented: getBigDecimal(int) ie: without a scale (why did this get missed?) getBlob(int) getCharacterStream(int) getConcurrency() getDate(int,Calendar) getFetchDirection() getFetchSize() getTime(int,Calendar) getTimestamp(int,Calendar) getType() NB: Where int represents the column name, the associated version taking a String were already implemented by calling the int version. - These methods no longer throw the not implemented but the new noupdate error. This is in preparation for the Updateable ResultSet support which will overide these methods by extending the existing class to implement that functionality, but needed to show something other than notimplemented: cancelRowUpdates() deleteRow() - Added new error message into errors.properties "postgresql.noupdate" This is used by jdbc2.ResultSet when an update method is called and the ResultSet is not updateable. A new method notUpdateable() has been added to that class to throw this exception, keeping the binary size down. - Added new error message into errors.properties "postgresql.psqlnotimp" This is used instead of unimplemented when it's a feature in the backend that is preventing this method from being implemented. - Removed getKeysetSize() as its not part of the ResultSet API Thu Jan 18 09:46:00 GMT 2001 peter@retep.org.uk - Applied modified patch from Richard Bullington-McGuire <rbulling@microstate.com>. I had to modify it as some of the code patched now exists in different classes, and some of it actually patched obsolete code. Wed Jan 17 10:19:00 GMT 2001 peter@retep.org.uk - Updated Implementation to include both ANT & JBuilder - Updated README to reflect the changes since 7.0 - Created jdbc.jpr file which allows JBuilder to be used to edit the source. JBuilder _CAN_NOT_ be used to compile. You must use ANT for that. It's only to allow JBuilders syntax checking to improve the drivers source. Refer to Implementation for more details
Diffstat (limited to 'src/interfaces/jdbc/Makefile')
-rw-r--r--src/interfaces/jdbc/Makefile29
1 files changed, 26 insertions, 3 deletions
diff --git a/src/interfaces/jdbc/Makefile b/src/interfaces/jdbc/Makefile
index 651a995f56..abe0d375c5 100644
--- a/src/interfaces/jdbc/Makefile
+++ b/src/interfaces/jdbc/Makefile
@@ -4,7 +4,7 @@
# Makefile for Java JDBC interface
#
# IDENTIFICATION
-# $Id: Makefile,v 1.25 2000/10/12 08:55:23 peter Exp $
+# $Id: Makefile,v 1.26 2001/01/18 14:50:14 peter Exp $
#
#-------------------------------------------------------------------------
@@ -39,10 +39,30 @@ PGBASE = org/postgresql
# New for 7.1: The jar filename
JARFILE = postgresql.jar
+all:
+ @echo ------------------------------------------------------------
+ @echo The use of Make to build the driver is now depreciated in
+ @echo version 7.1 and later. To build the driver you now need to
+ @echo use ANT. This is the build tool of the Jakarta project, and
+ @echo you can obtain this from http://jakarta.apache.org/ant/
+ @echo
+ @echo Once you have this installed, change directory to the root
+ @echo directory of the postgresql source and type ant.
+ @echo
+ @echo ie: if you are currently in the pgsql/src/interfaces/jdbc
+ @echo directory then cd into the pgsql one \(cd ../../.. should
+ @echo do\).
+ @echo
+ @echo The file Implementation contains more info on this, as does
+ @echo the homepage http://jdbc.postgresql.org/
+ @echo ------------------------------------------------------------
+
# Yet another attempt to check the version. In theory, any JVM that fails
# this is breaking the versioning specifications released by Javasoft.
#
-all: utils/CheckVersion.class
+# In 7.1 this is renamed oldall so that the depreciated message is shown.
+#
+oldall: utils/CheckVersion.class
@$(MAKE) `$(JAVA) utils.CheckVersion`
# For 6.5.3 and 7.0+, we need to select the correct JDBC API, so prompt
@@ -72,7 +92,10 @@ huho:
@echo
@echo ------------------------------------------------------------
-msg:
+# In 7.1 replaced msg so that the depreciated message is shown.
+msg: all
+
+oldmsg:
@echo ------------------------------------------------------------
@echo The JDBC driver has now been built. To make it available to
@echo other applications, copy the postgresql.jar file to a public