# Makefile for Java JDBC interface
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/interfaces/jdbc/Attic/Makefile,v 1.1 1997/09/26 08:22:21 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/jdbc/Attic/Makefile,v 1.2 1997/09/29 20:11:42 scrappy Exp $
#
#-------------------------------------------------------------------------
clean:
$(FIND) . -name "*~" -exec $(RM) {} \;
$(FIND) . -name "*.class" -exec $(RM) {} \;
- $(RM) postgres.jar
+ $(RM) postgresql.jar
#######################################################################
# This helps make workout what classes are from what source files
it will compile it automatically. This reduces the numer of calls to javac
that make has to do.
+Possible problems
+
+You may see a message similar to:
+
+postgresql/Driver.java:87: interface java.sql.Connection is an interface. It can't be instantiated.
+ return new Connection (host(), port(), props, database(), url, this);
+
+This is caused by not having the current directory in your CLASSPATH. Under
+Linux/Solaris, unset the CLASSPATH environment variable, and rerun make.
+
---------------------------------------------------------------------------
INSTALLING THE DRIVER
Also, when using these classes, their toString() methods return the correct
syntax for writing these to the database.
-TODO
-----
-
-Currently only host authentication is supported. Password authentication
-will be in there in a few days.
-
-Incorporating more features from the other driver (esp. in the MetaData's)
-
-Large Object support will also go in there, although it may not be done as
-pure JDBC, but as an extra API.
-
-Producing some documentation with javadoc - not all of the sources have them
-yet.
-
---------------------------------------------------------------------------
Peter T Mount, August 30 1997
*/
public boolean supportsMixedCaseIdentifiers() throws SQLException
{
- return true;
+ return false;
}
/**
*/
public boolean storesLowerCaseIdentifiers() throws SQLException
{
- return false;
+ return true;
}
/**
*/
public String getIdentifierQuoteString() throws SQLException
{
- return new String(" ");
+ return null;
}
/**
/**
* Can columns be defined as non-nullable. A JDBC Compliant driver
- * always returns true. We dont support NOT NULL, so we are not
- * JDBC compliant.
+ * always returns true.
+ *
+ * This changed from false to true in v6.2 of the driver, as this
+ * support was added to the backend.
*
* @return true if so
* @exception SQLException if a database access error occurs
*/
public boolean supportsNonNullableColumns() throws SQLException
{
- return false;
+ return true;
}
/**
*/
public String getCatalogSeparator() throws SQLException
{
- return new String(".");
+ // PM Sep 29 97 - changed from "." as we don't support catalogs.
+ return new String("");
}
/**
*/
public boolean dataDefinitionIgnoredInTransactions() throws SQLException
{
- return false;
+ return true;
}
/**