diff options
| author | Warren Levy <warrenl@redhat.com> | 2000-06-29 23:20:33 +0000 |
|---|---|---|
| committer | Warren Levy <warrenl@redhat.com> | 2000-06-29 23:20:33 +0000 |
| commit | d87a15cc0076071bc4501bbeece802e1b8616585 (patch) | |
| tree | a91f4394b934a32b48fb1683af562852cc2a5223 /java/sql/DatabaseMetaData.java | |
| parent | a40aa46838c98db56191e72ceef41d471ed4ed0d (diff) | |
| download | classpath-d87a15cc0076071bc4501bbeece802e1b8616585.tar.gz | |
* java/math/BigDecimal.java (add): Reimplemented.
(subtract): Corrected method name from 'substract'. Reimplemented.
* java/sql/Connection.java (TRANSACTION_SERIALIZABLE): Corrected
spelling to match JDK spec.
* java/sql/DatabaseMetaData.java (getIdentifierQuoteString):
Corrected method name from 'getIdentiferQuoteString'.
(getTimeDateFunctions): Corrected name to match the spec.
(supportsCatalogsInPrivilegeDefinitions): Ditto.
(getMaxUserNameLength): Ditto.
(getTables): Added String types[] parameter to match the spec.
* java/sql/Driver.java (getMajorVersion): Corrected method name.
* java/sql/PreparedStatement.java: Class extends Statement.
(setBigDecimal): New method.
(setAsciiStream): Added int length parameter.
(setUnicodeStream): Ditto.
(setBinaryStream): Ditto.
(setCharacterStream): Ditto.
(execute): New method.
(executeQuery): New method.
(executeUpdate): New method.
Mods to match the JDK spec (and to fix BigDecimal bugs).
Diffstat (limited to 'java/sql/DatabaseMetaData.java')
| -rw-r--r-- | java/sql/DatabaseMetaData.java | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/java/sql/DatabaseMetaData.java b/java/sql/DatabaseMetaData.java index c4a1aa77f..59273f29d 100644 --- a/java/sql/DatabaseMetaData.java +++ b/java/sql/DatabaseMetaData.java @@ -1,5 +1,5 @@ /* DatabaseMetaData.java -- Information about the database itself. - Copyright (C) 1999 Free Software Foundation, Inc. + Copyright (C) 1999, 2000 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -592,7 +592,7 @@ storesMixedCaseQuotedIdentifiers() throws SQLException; * @exception SQLException If an error occurs. */ public abstract String -getIdentiferQuoteString() throws SQLException; +getIdentifierQuoteString() throws SQLException; /*************************************************************************/ @@ -646,14 +646,14 @@ getSystemFunctions() throws SQLException; /*************************************************************************/ /** - * This method returns comma separated list of date/time functions. + * This method returns comma separated list of time/date functions. * - * @return The list of date/time functions. + * @return The list of time/date functions. * * @exception SQLException If an error occurs. */ public abstract String -getDateTimeFunctions() throws SQLException; +getTimeDateFunctions() throws SQLException; /*************************************************************************/ @@ -1251,7 +1251,7 @@ supportsCatalogsInIndexDefinitions() throws SQLException; * @exception SQLException If an error occurs. */ public abstract boolean -supportsCatalogInPrivilegeDefinitions() throws SQLException; +supportsCatalogsInPrivilegeDefinitions() throws SQLException; /*************************************************************************/ @@ -1719,7 +1719,7 @@ getMaxTablesInSelect() throws SQLException; * @exception SQLException If an error occurs. */ public abstract int -getMaxTableUserLength() throws SQLException; +getMaxUserNameLength() throws SQLException; /*************************************************************************/ @@ -1925,14 +1925,15 @@ getProcedureColumns(String catalog, String schemaPattern, String namePattern, * @param schemaPattern A schema pattern for the schemas to return tables * from, or "" to return tables from all schemas. * @param namePattern The pattern of table names to return. + * @param types The list of table types to include; null returns all types. * * @returns A <code>ResultSet</code> with all the requested tables. * * @exception SQLException If an error occurs. */ public abstract ResultSet -getTables(String catalog, String schemaPattern, String namePattern) - throws SQLException; +getTables(String catalog, String schemaPattern, String namePattern, + String types[]) throws SQLException; /*************************************************************************/ |
