jxDBCon 0.9z

org.sourceforge.jxdbcon
Class AbstractDatabaseMetaData

java.lang.Object
  |
  +--org.sourceforge.jxdbcon.AbstractDatabaseMetaData
All Implemented Interfaces:
DatabaseMetaData
Direct Known Subclasses:
PGDatabaseMetaData

public abstract class AbstractDatabaseMetaData
extends Object
implements DatabaseMetaData

AbstractDatabaseMetaData implements generics of the DatabaseMetaData interface.
When extending you must define:

Version:
$Revision: 1.8 $, $Date: 2002/03/16 01:26:07 $
Author:
Keve Müller

Field Summary
static String[] CN_ATTRIBUTES
           
static String[] CN_BESTROWIDENTIFIER
           
static String[] CN_CATALOGS
           
static String[] CN_COLUMNPRIVILEGES
           
static String[] CN_COLUMNS
           
static String[] CN_CROSSREFERENCE
           
static String[] CN_EXPORTEDKEYS
           
static String[] CN_IMPORTEDKEYS
           
static String[] CN_INDEXINFO
           
static String[] CN_PRIMARYKEYS
           
static String[] CN_PROCEDURECOLUMNS
           
static String[] CN_PROCEDURES
           
static String[] CN_SCHEMAS
           
static String[] CN_SUPERTABLES
           
static String[] CN_SUPERTYPES
           
static String[] CN_TABLEPRIVILEGES
           
static String[] CN_TABLES
           
static String[] CN_TABLETYPES
           
static String[] CN_TYPEINFO
           
static String[] CN_UDTS
           
static String[] CN_VERSIONCOLUMNS
           
protected  AbstractConnection connection
           
static AbstractType[] CT_ATTRIBUTES
           
static AbstractType[] CT_BESTROWIDENTIFIER
           
static AbstractType[] CT_CATALOGS
           
static AbstractType[] CT_COLUMNPRIVILEGES
           
static AbstractType[] CT_COLUMNS
           
static AbstractType[] CT_CROSSREFERENCE
           
static AbstractType[] CT_EXPORTEDKEYS
           
static AbstractType[] CT_IMPORTEDKEYS
           
static AbstractType[] CT_INDEXINFO
           
static AbstractType[] CT_PRIMARYKEYS
           
static AbstractType[] CT_PROCEDURECOLUMNS
           
static AbstractType[] CT_PROCEDURES
           
static AbstractType[] CT_SCHEMAS
           
static AbstractType[] CT_SUPERTABLES
           
static AbstractType[] CT_SUPERTYPES
           
static AbstractType[] CT_TABLEPRIVILEGES
           
static AbstractType[] CT_TABLES
           
static AbstractType[] CT_TABLETYPES
           
static AbstractType[] CT_TYPEINFO
           
static AbstractType[] CT_UDTS
           
static AbstractType[] CT_VERSIONCOLUMNS
           
static String[] NUMERICFUNCTIONS
           
static String[] STRINGFUNCTIONS
           
static String[] SYSTEMFUNCTIONS
           
static String[] TIMEDATEFUNCTIONS
           
protected  String url
           
 
Fields inherited from interface java.sql.DatabaseMetaData
attributeNoNulls, attributeNullable, attributeNullableUnknown, bestRowNotPseudo, bestRowPseudo, bestRowSession, bestRowTemporary, bestRowTransaction, bestRowUnknown, columnNoNulls, columnNullable, columnNullableUnknown, importedKeyCascade, importedKeyInitiallyDeferred, importedKeyInitiallyImmediate, importedKeyNoAction, importedKeyNotDeferrable, importedKeyRestrict, importedKeySetDefault, importedKeySetNull, procedureColumnIn, procedureColumnInOut, procedureColumnOut, procedureColumnResult, procedureColumnReturn, procedureColumnUnknown, procedureNoNulls, procedureNoResult, procedureNullable, procedureNullableUnknown, procedureResultUnknown, procedureReturnsResult, sqlStateSQL99, sqlStateXOpen, tableIndexClustered, tableIndexHashed, tableIndexOther, tableIndexStatistic, typeNoNulls, typeNullable, typeNullableUnknown, typePredBasic, typePredChar, typePredNone, typeSearchable, versionColumnNotPseudo, versionColumnPseudo, versionColumnUnknown
 
Constructor Summary
protected AbstractDatabaseMetaData(String url, AbstractConnection connection)
           
 
Method Summary
 boolean allProceduresAreCallable()
           
 boolean allTablesAreSelectable()
           
 boolean dataDefinitionCausesTransactionCommit()
           
 boolean dataDefinitionIgnoredInTransactions()
           
 boolean deletesAreDetected(int type)
           
 boolean doesMaxRowSizeIncludeBlobs()
           
 ResultSet getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern)
           
 ResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable)
           
 ResultSet getCatalogs()
           
 String getCatalogSeparator()
           
 String getCatalogTerm()
           
 ResultSet getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern)
           
 ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern)
           
 Connection getConnection()
           
 ResultSet getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable)
           
 int getDefaultTransactionIsolation()
           
 int getDriverMajorVersion()
          Get the driver major version.
 int getDriverMinorVersion()
          Get the driver minor version.
 String getDriverName()
          Get the driver name.
 String getDriverVersion()
          Get the driver version.
 ResultSet getExportedKeys(String catalog, String schema, String table)
           
 String getExtraNameCharacters()
           
 String getIdentifierQuoteString()
           
 ResultSet getImportedKeys(String catalog, String schema, String table)
           
 ResultSet getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate)
           
 int getJDBCMajorVersion()
          Get the JDBC major version.
 int getJDBCMinorVersion()
          Get the JDBC minor version.
 int getMaxBinaryLiteralLength()
           
 int getMaxCatalogNameLength()
           
 int getMaxCharLiteralLength()
           
 int getMaxColumnNameLength()
           
 int getMaxColumnsInGroupBy()
           
 int getMaxColumnsInIndex()
           
 int getMaxColumnsInOrderBy()
           
 int getMaxColumnsInSelect()
           
 int getMaxColumnsInTable()
           
 int getMaxConnections()
           
 int getMaxCursorNameLength()
           
 int getMaxIndexLength()
           
 int getMaxProcedureNameLength()
           
 int getMaxRowSize()
           
 int getMaxSchemaNameLength()
           
 int getMaxStatementLength()
           
 int getMaxStatements()
           
 int getMaxTableNameLength()
           
 int getMaxTablesInSelect()
           
 int getMaxUserNameLength()
           
 String getNumericFunctions()
           
 ResultSet getPrimaryKeys(String catalog, String schema, String table)
          Get the primary keys of _a_ table.
 ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern)
           
 ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern)
           
 String getProcedureTerm()
           
 int getResultSetHoldability()
           
 int getResultSetHoldability(int holdability)
           
 ResultSet getSchemas()
           
 String getSchemaTerm()
           
 String getSearchStringEscape()
           
 String getSQLKeywords()
           
 int getSQLStateType()
           
 String getStringFunctions()
           
 ResultSet getSuperTables(String catalog, String schemaPattern, String typeNamePattern)
           
 ResultSet getSuperTypes(String catalog, String schemaPattern, String typeNamePattern)
           
 String getSystemFunctions()
           
 ResultSet getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern)
           
 ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types)
           
 ResultSet getTableTypes()
           
 String getTimeDateFunctions()
           
 ResultSet getTypeInfo()
           
 ResultSet getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types)
           
 String getURL()
           
 String getUserName()
           
 ResultSet getVersionColumns(String catalog, String schema, String table)
           
 boolean insertsAreDetected(int type)
           
 boolean isCatalogAtStart()
           
 boolean isReadOnly()
           
 boolean locatorsUpdateCopy()
          Indicates whether updates made to a LOB are made on a copy or directly to the LOB.
 boolean nullPlusNonNullIsNull()
           
 boolean nullsAreSortedAtEnd()
           
 boolean nullsAreSortedAtStart()
           
 boolean nullsAreSortedHigh()
           
 boolean nullsAreSortedLow()
           
 boolean othersDeletesAreVisible(int type)
           
 boolean othersInsertsAreVisible(int type)
           
 boolean othersUpdatesAreVisible(int type)
           
 boolean ownDeletesAreVisible(int type)
           
 boolean ownInsertsAreVisible(int type)
           
 boolean ownUpdatesAreVisible(int type)
           
 boolean storesLowerCaseIdentifiers()
           
 boolean storesLowerCaseQuotedIdentifiers()
           
 boolean storesMixedCaseIdentifiers()
           
 boolean storesMixedCaseQuotedIdentifiers()
           
 boolean storesUpperCaseIdentifiers()
           
 boolean storesUpperCaseQuotedIdentifiers()
           
 boolean supportsAlterTableWithAddColumn()
           
 boolean supportsAlterTableWithDropColumn()
           
 boolean supportsANSI92EntryLevelSQL()
          ANSI SQL 92 is not supported by default.
 boolean supportsANSI92FullSQL()
          ANSI SQL 92 Full is not supported by default.
 boolean supportsANSI92IntermediateSQL()
          ANSI SQL 92 Intermediate is not supported by default.
 boolean supportsBatchUpdates()
           
 boolean supportsCatalogsInDataManipulation()
           
 boolean supportsCatalogsInIndexDefinitions()
           
 boolean supportsCatalogsInPrivilegeDefinitions()
           
 boolean supportsCatalogsInProcedureCalls()
           
 boolean supportsCatalogsInTableDefinitions()
           
 boolean supportsColumnAliasing()
           
 boolean supportsConvert()
           
 boolean supportsConvert(int fromType, int toType)
           
 boolean supportsCoreSQLGrammar()
          Core SQL is not supported by default.
 boolean supportsCorrelatedSubqueries()
           
 boolean supportsDataDefinitionAndDataManipulationTransactions()
           
 boolean supportsDataManipulationTransactionsOnly()
           
 boolean supportsDifferentTableCorrelationNames()
           
 boolean supportsExpressionsInOrderBy()
           
 boolean supportsExtendedSQLGrammar()
          Extended SQL is not supported by default.
 boolean supportsFullOuterJoins()
           
 boolean supportsGetGeneratedKeys()
           
 boolean supportsGroupBy()
           
 boolean supportsGroupByBeyondSelect()
           
 boolean supportsGroupByUnrelated()
           
 boolean supportsIntegrityEnhancementFacility()
           
 boolean supportsLikeEscapeClause()
           
 boolean supportsLimitedOuterJoins()
           
 boolean supportsMinimumSQLGrammar()
          Some SQL is surely supported.
 boolean supportsMixedCaseIdentifiers()
           
 boolean supportsMixedCaseQuotedIdentifiers()
           
 boolean supportsMultipleOpenResults()
           
 boolean supportsMultipleResultSets()
           
 boolean supportsMultipleTransactions()
           
 boolean supportsNamedParameters()
           
 boolean supportsNonNullableColumns()
           
 boolean supportsOpenCursorsAcrossCommit()
           
 boolean supportsOpenCursorsAcrossRollback()
           
 boolean supportsOpenStatementsAcrossCommit()
           
 boolean supportsOpenStatementsAcrossRollback()
           
 boolean supportsOrderByUnrelated()
           
 boolean supportsOuterJoins()
           
 boolean supportsPositionedDelete()
           
 boolean supportsPositionedUpdate()
           
 boolean supportsResultSetConcurrency(int type, int concurrency)
           
 boolean supportsResultSetHoldability(int holdability)
           
 boolean supportsResultSetType(int type)
           
 boolean supportsSavepoints()
           
 boolean supportsSchemasInDataManipulation()
           
 boolean supportsSchemasInIndexDefinitions()
           
 boolean supportsSchemasInPrivilegeDefinitions()
           
 boolean supportsSchemasInProcedureCalls()
           
 boolean supportsSchemasInTableDefinitions()
           
 boolean supportsSelectForUpdate()
           
 boolean supportsStatementPooling()
           
 boolean supportsStoredProcedures()
           
 boolean supportsSubqueriesInComparisons()
           
 boolean supportsSubqueriesInExists()
           
 boolean supportsSubqueriesInIns()
           
 boolean supportsSubqueriesInQuantifieds()
           
 boolean supportsTableCorrelationNames()
           
 boolean supportsTransactionIsolationLevel(int level)
           
 boolean supportsTransactions()
           
 boolean supportsUnion()
           
 boolean supportsUnionAll()
           
 String toString()
          Dump everything into a String (costy operation).
 boolean updatesAreDetected(int type)
           
 boolean usesLocalFilePerTable()
           
 boolean usesLocalFiles()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.sql.DatabaseMetaData
getDatabaseMajorVersion, getDatabaseMinorVersion, getDatabaseProductName, getDatabaseProductVersion
 

Field Detail

CN_ATTRIBUTES

public static final String[] CN_ATTRIBUTES

CN_BESTROWIDENTIFIER

public static final String[] CN_BESTROWIDENTIFIER

CN_CATALOGS

public static final String[] CN_CATALOGS

CN_COLUMNPRIVILEGES

public static final String[] CN_COLUMNPRIVILEGES

CN_COLUMNS

public static final String[] CN_COLUMNS

CN_CROSSREFERENCE

public static final String[] CN_CROSSREFERENCE

CN_EXPORTEDKEYS

public static final String[] CN_EXPORTEDKEYS

CN_IMPORTEDKEYS

public static final String[] CN_IMPORTEDKEYS

CN_INDEXINFO

public static final String[] CN_INDEXINFO

CN_PRIMARYKEYS

public static final String[] CN_PRIMARYKEYS

CN_PROCEDURECOLUMNS

public static final String[] CN_PROCEDURECOLUMNS

CN_PROCEDURES

public static final String[] CN_PROCEDURES

CN_SCHEMAS

public static final String[] CN_SCHEMAS

CN_SUPERTABLES

public static final String[] CN_SUPERTABLES

CN_SUPERTYPES

public static final String[] CN_SUPERTYPES

CN_TABLEPRIVILEGES

public static final String[] CN_TABLEPRIVILEGES

CN_TABLES

public static final String[] CN_TABLES

CN_TABLETYPES

public static final String[] CN_TABLETYPES

CN_TYPEINFO

public static final String[] CN_TYPEINFO

CN_UDTS

public static final String[] CN_UDTS

CN_VERSIONCOLUMNS

public static final String[] CN_VERSIONCOLUMNS

connection

protected AbstractConnection connection

CT_ATTRIBUTES

public static final AbstractType[] CT_ATTRIBUTES

CT_BESTROWIDENTIFIER

public static final AbstractType[] CT_BESTROWIDENTIFIER

CT_CATALOGS

public static final AbstractType[] CT_CATALOGS

CT_COLUMNPRIVILEGES

public static final AbstractType[] CT_COLUMNPRIVILEGES

CT_COLUMNS

public static final AbstractType[] CT_COLUMNS

CT_CROSSREFERENCE

public static final AbstractType[] CT_CROSSREFERENCE

CT_EXPORTEDKEYS

public static final AbstractType[] CT_EXPORTEDKEYS

CT_IMPORTEDKEYS

public static final AbstractType[] CT_IMPORTEDKEYS

CT_INDEXINFO

public static final AbstractType[] CT_INDEXINFO

CT_PRIMARYKEYS

public static final AbstractType[] CT_PRIMARYKEYS

CT_PROCEDURECOLUMNS

public static final AbstractType[] CT_PROCEDURECOLUMNS

CT_PROCEDURES

public static final AbstractType[] CT_PROCEDURES

CT_SCHEMAS

public static final AbstractType[] CT_SCHEMAS

CT_SUPERTABLES

public static final AbstractType[] CT_SUPERTABLES

CT_SUPERTYPES

public static final AbstractType[] CT_SUPERTYPES

CT_TABLEPRIVILEGES

public static final AbstractType[] CT_TABLEPRIVILEGES

CT_TABLES

public static final AbstractType[] CT_TABLES

CT_TABLETYPES

public static final AbstractType[] CT_TABLETYPES

CT_TYPEINFO

public static final AbstractType[] CT_TYPEINFO

CT_UDTS

public static final AbstractType[] CT_UDTS

CT_VERSIONCOLUMNS

public static final AbstractType[] CT_VERSIONCOLUMNS

NUMERICFUNCTIONS

public static final String[] NUMERICFUNCTIONS

STRINGFUNCTIONS

public static final String[] STRINGFUNCTIONS

SYSTEMFUNCTIONS

public static final String[] SYSTEMFUNCTIONS

TIMEDATEFUNCTIONS

public static final String[] TIMEDATEFUNCTIONS

url

protected String url
Constructor Detail

AbstractDatabaseMetaData

protected AbstractDatabaseMetaData(String url,
                                   AbstractConnection connection)
Method Detail

allProceduresAreCallable

public boolean allProceduresAreCallable()
                                 throws SQLException
Specified by:
allProceduresAreCallable in interface DatabaseMetaData
SQLException

allTablesAreSelectable

public boolean allTablesAreSelectable()
                               throws SQLException
Specified by:
allTablesAreSelectable in interface DatabaseMetaData
Returns:
false
SQLException

dataDefinitionCausesTransactionCommit

public boolean dataDefinitionCausesTransactionCommit()
Specified by:
dataDefinitionCausesTransactionCommit in interface DatabaseMetaData

dataDefinitionIgnoredInTransactions

public boolean dataDefinitionIgnoredInTransactions()
                                            throws SQLException
Specified by:
dataDefinitionIgnoredInTransactions in interface DatabaseMetaData
SQLException

deletesAreDetected

public boolean deletesAreDetected(int type)
                           throws SQLException
Specified by:
deletesAreDetected in interface DatabaseMetaData
SQLException

doesMaxRowSizeIncludeBlobs

public boolean doesMaxRowSizeIncludeBlobs()
                                   throws SQLException
Specified by:
doesMaxRowSizeIncludeBlobs in interface DatabaseMetaData
SQLException

getAttributes

public ResultSet getAttributes(String catalog,
                               String schemaPattern,
                               String typeNamePattern,
                               String attributeNamePattern)
                        throws SQLException
Specified by:
getAttributes in interface DatabaseMetaData
SQLException

getBestRowIdentifier

public ResultSet getBestRowIdentifier(String catalog,
                                      String schema,
                                      String table,
                                      int scope,
                                      boolean nullable)
                               throws SQLException
Specified by:
getBestRowIdentifier in interface DatabaseMetaData
SQLException

getCatalogs

public ResultSet getCatalogs()
                      throws SQLException
Specified by:
getCatalogs in interface DatabaseMetaData
SQLException

getCatalogSeparator

public String getCatalogSeparator()
                           throws SQLException
Specified by:
getCatalogSeparator in interface DatabaseMetaData
SQLException

getCatalogTerm

public String getCatalogTerm()
                      throws SQLException
Specified by:
getCatalogTerm in interface DatabaseMetaData
SQLException

getColumnPrivileges

public ResultSet getColumnPrivileges(String catalog,
                                     String schema,
                                     String table,
                                     String columnNamePattern)
                              throws SQLException
Specified by:
getColumnPrivileges in interface DatabaseMetaData
SQLException

getColumns

public ResultSet getColumns(String catalog,
                            String schemaPattern,
                            String tableNamePattern,
                            String columnNamePattern)
                     throws SQLException
Specified by:
getColumns in interface DatabaseMetaData
SQLException

getConnection

public final Connection getConnection()
                               throws SQLException
Specified by:
getConnection in interface DatabaseMetaData
SQLException

getCrossReference

public ResultSet getCrossReference(String primaryCatalog,
                                   String primarySchema,
                                   String primaryTable,
                                   String foreignCatalog,
                                   String foreignSchema,
                                   String foreignTable)
                            throws SQLException
Specified by:
getCrossReference in interface DatabaseMetaData
SQLException

getDefaultTransactionIsolation

public int getDefaultTransactionIsolation()
                                   throws SQLException
Specified by:
getDefaultTransactionIsolation in interface DatabaseMetaData
SQLException

getDriverMajorVersion

public final int getDriverMajorVersion()
Get the driver major version.

Specified by:
getDriverMajorVersion in interface DatabaseMetaData
Returns:
0

getDriverMinorVersion

public final int getDriverMinorVersion()
Get the driver minor version.

Specified by:
getDriverMinorVersion in interface DatabaseMetaData
Returns:
9

getDriverName

public final String getDriverName()
Get the driver name.

Specified by:
getDriverName in interface DatabaseMetaData
Returns:
"jxDBCon"

getDriverVersion

public final String getDriverVersion()
                              throws SQLException
Get the driver version.

Specified by:
getDriverVersion in interface DatabaseMetaData
Returns:
"0.9"
SQLException

getExportedKeys

public ResultSet getExportedKeys(String catalog,
                                 String schema,
                                 String table)
                          throws SQLException
Specified by:
getExportedKeys in interface DatabaseMetaData
SQLException

getExtraNameCharacters

public String getExtraNameCharacters()
                              throws SQLException
Specified by:
getExtraNameCharacters in interface DatabaseMetaData
SQLException

getIdentifierQuoteString

public String getIdentifierQuoteString()
                                throws SQLException
Specified by:
getIdentifierQuoteString in interface DatabaseMetaData
SQLException

getImportedKeys

public ResultSet getImportedKeys(String catalog,
                                 String schema,
                                 String table)
                          throws SQLException
Specified by:
getImportedKeys in interface DatabaseMetaData
SQLException

getIndexInfo

public ResultSet getIndexInfo(String catalog,
                              String schema,
                              String table,
                              boolean unique,
                              boolean approximate)
                       throws SQLException
Specified by:
getIndexInfo in interface DatabaseMetaData
SQLException

getJDBCMajorVersion

public final int getJDBCMajorVersion()
Get the JDBC major version. FIXME: This should depend on the compilation args

Specified by:
getJDBCMajorVersion in interface DatabaseMetaData
Returns:
3

getJDBCMinorVersion

public final int getJDBCMinorVersion()
Get the JDBC minor version.

Specified by:
getJDBCMinorVersion in interface DatabaseMetaData
Returns:
0

getMaxBinaryLiteralLength

public int getMaxBinaryLiteralLength()
                              throws SQLException
Specified by:
getMaxBinaryLiteralLength in interface DatabaseMetaData
SQLException

getMaxCatalogNameLength

public int getMaxCatalogNameLength()
                            throws SQLException
Specified by:
getMaxCatalogNameLength in interface DatabaseMetaData
SQLException

getMaxCharLiteralLength

public int getMaxCharLiteralLength()
                            throws SQLException
Specified by:
getMaxCharLiteralLength in interface DatabaseMetaData
SQLException

getMaxColumnNameLength

public int getMaxColumnNameLength()
                           throws SQLException
Specified by:
getMaxColumnNameLength in interface DatabaseMetaData
SQLException

getMaxColumnsInGroupBy

public int getMaxColumnsInGroupBy()
                           throws SQLException
Specified by:
getMaxColumnsInGroupBy in interface DatabaseMetaData
SQLException

getMaxColumnsInIndex

public int getMaxColumnsInIndex()
                         throws SQLException
Specified by:
getMaxColumnsInIndex in interface DatabaseMetaData
SQLException

getMaxColumnsInOrderBy

public int getMaxColumnsInOrderBy()
                           throws SQLException
Specified by:
getMaxColumnsInOrderBy in interface DatabaseMetaData
SQLException

getMaxColumnsInSelect

public int getMaxColumnsInSelect()
                          throws SQLException
Specified by:
getMaxColumnsInSelect in interface DatabaseMetaData
SQLException

getMaxColumnsInTable

public int getMaxColumnsInTable()
                         throws SQLException
Specified by:
getMaxColumnsInTable in interface DatabaseMetaData
SQLException

getMaxConnections

public int getMaxConnections()
                      throws SQLException
Specified by:
getMaxConnections in interface DatabaseMetaData
SQLException

getMaxCursorNameLength

public int getMaxCursorNameLength()
                           throws SQLException
Specified by:
getMaxCursorNameLength in interface DatabaseMetaData
SQLException

getMaxIndexLength

public int getMaxIndexLength()
                      throws SQLException
Specified by:
getMaxIndexLength in interface DatabaseMetaData
SQLException

getMaxProcedureNameLength

public int getMaxProcedureNameLength()
                              throws SQLException
Specified by:
getMaxProcedureNameLength in interface DatabaseMetaData
SQLException

getMaxRowSize

public int getMaxRowSize()
                  throws SQLException
Specified by:
getMaxRowSize in interface DatabaseMetaData
SQLException

getMaxSchemaNameLength

public int getMaxSchemaNameLength()
                           throws SQLException
Specified by:
getMaxSchemaNameLength in interface DatabaseMetaData
SQLException

getMaxStatementLength

public int getMaxStatementLength()
                          throws SQLException
Specified by:
getMaxStatementLength in interface DatabaseMetaData
SQLException

getMaxStatements

public int getMaxStatements()
                     throws SQLException
Specified by:
getMaxStatements in interface DatabaseMetaData
SQLException

getMaxTableNameLength

public int getMaxTableNameLength()
                          throws SQLException
Specified by:
getMaxTableNameLength in interface DatabaseMetaData
SQLException

getMaxTablesInSelect

public int getMaxTablesInSelect()
                         throws SQLException
Specified by:
getMaxTablesInSelect in interface DatabaseMetaData
SQLException

getMaxUserNameLength

public int getMaxUserNameLength()
                         throws SQLException
Specified by:
getMaxUserNameLength in interface DatabaseMetaData
SQLException

getNumericFunctions

public String getNumericFunctions()
                           throws SQLException
Specified by:
getNumericFunctions in interface DatabaseMetaData
SQLException

getPrimaryKeys

public ResultSet getPrimaryKeys(String catalog,
                                String schema,
                                String table)
                         throws SQLException
Get the primary keys of _a_ table.

Specified by:
getPrimaryKeys in interface DatabaseMetaData
SQLException

getProcedureColumns

public ResultSet getProcedureColumns(String catalog,
                                     String schemaPattern,
                                     String procedureNamePattern,
                                     String columnNamePattern)
                              throws SQLException
Specified by:
getProcedureColumns in interface DatabaseMetaData
SQLException

getProcedures

public ResultSet getProcedures(String catalog,
                               String schemaPattern,
                               String procedureNamePattern)
                        throws SQLException
Specified by:
getProcedures in interface DatabaseMetaData
SQLException

getProcedureTerm

public String getProcedureTerm()
                        throws SQLException
Specified by:
getProcedureTerm in interface DatabaseMetaData
SQLException

getResultSetHoldability

public int getResultSetHoldability()
                            throws SQLException
Specified by:
getResultSetHoldability in interface DatabaseMetaData
SQLException

getResultSetHoldability

public int getResultSetHoldability(int holdability)
                            throws SQLException
SQLException

getSchemas

public ResultSet getSchemas()
                     throws SQLException
Specified by:
getSchemas in interface DatabaseMetaData
SQLException

getSchemaTerm

public String getSchemaTerm()
                     throws SQLException
Specified by:
getSchemaTerm in interface DatabaseMetaData
SQLException

getSearchStringEscape

public String getSearchStringEscape()
                             throws SQLException
Specified by:
getSearchStringEscape in interface DatabaseMetaData
SQLException

getSQLKeywords

public String getSQLKeywords()
                      throws SQLException
Specified by:
getSQLKeywords in interface DatabaseMetaData
SQLException

getSQLStateType

public int getSQLStateType()
                    throws SQLException
Specified by:
getSQLStateType in interface DatabaseMetaData
SQLException

getStringFunctions

public String getStringFunctions()
                          throws SQLException
Specified by:
getStringFunctions in interface DatabaseMetaData
SQLException

getSuperTables

public ResultSet getSuperTables(String catalog,
                                String schemaPattern,
                                String typeNamePattern)
                         throws SQLException
Specified by:
getSuperTables in interface DatabaseMetaData
SQLException

getSuperTypes

public ResultSet getSuperTypes(String catalog,
                               String schemaPattern,
                               String typeNamePattern)
                        throws SQLException
Specified by:
getSuperTypes in interface DatabaseMetaData
SQLException

getSystemFunctions

public String getSystemFunctions()
                          throws SQLException
Specified by:
getSystemFunctions in interface DatabaseMetaData
SQLException

getTablePrivileges

public ResultSet getTablePrivileges(String catalog,
                                    String schemaPattern,
                                    String tableNamePattern)
                             throws SQLException
Specified by:
getTablePrivileges in interface DatabaseMetaData
SQLException

getTables

public ResultSet getTables(String catalog,
                           String schemaPattern,
                           String tableNamePattern,
                           String[] types)
                    throws SQLException
Specified by:
getTables in interface DatabaseMetaData
SQLException

getTableTypes

public ResultSet getTableTypes()
                        throws SQLException
Specified by:
getTableTypes in interface DatabaseMetaData
SQLException

getTimeDateFunctions

public String getTimeDateFunctions()
                            throws SQLException
Specified by:
getTimeDateFunctions in interface DatabaseMetaData
SQLException

getTypeInfo

public ResultSet getTypeInfo()
                      throws SQLException
Specified by:
getTypeInfo in interface DatabaseMetaData
SQLException

getUDTs

public ResultSet getUDTs(String catalog,
                         String schemaPattern,
                         String typeNamePattern,
                         int[] types)
                  throws SQLException
Specified by:
getUDTs in interface DatabaseMetaData
SQLException

getURL

public final String getURL()
Specified by:
getURL in interface DatabaseMetaData

getUserName

public final String getUserName()
                         throws SQLException
Specified by:
getUserName in interface DatabaseMetaData
SQLException

getVersionColumns

public ResultSet getVersionColumns(String catalog,
                                   String schema,
                                   String table)
                            throws SQLException
Specified by:
getVersionColumns in interface DatabaseMetaData
SQLException

insertsAreDetected

public boolean insertsAreDetected(int type)
                           throws SQLException
Specified by:
insertsAreDetected in interface DatabaseMetaData
SQLException

isCatalogAtStart

public boolean isCatalogAtStart()
                         throws SQLException
Specified by:
isCatalogAtStart in interface DatabaseMetaData
SQLException

isReadOnly

public final boolean isReadOnly()
                         throws SQLException
Specified by:
isReadOnly in interface DatabaseMetaData
SQLException

locatorsUpdateCopy

public boolean locatorsUpdateCopy()
                           throws SQLException
Indicates whether updates made to a LOB are made on a copy or directly to the LOB.

Specified by:
locatorsUpdateCopy in interface DatabaseMetaData
SQLException

nullPlusNonNullIsNull

public boolean nullPlusNonNullIsNull()
                              throws SQLException
Specified by:
nullPlusNonNullIsNull in interface DatabaseMetaData
SQLException

nullsAreSortedAtEnd

public boolean nullsAreSortedAtEnd()
                            throws SQLException
Specified by:
nullsAreSortedAtEnd in interface DatabaseMetaData
SQLException

nullsAreSortedAtStart

public boolean nullsAreSortedAtStart()
                              throws SQLException
Specified by:
nullsAreSortedAtStart in interface DatabaseMetaData
SQLException

nullsAreSortedHigh

public boolean nullsAreSortedHigh()
                           throws SQLException
Specified by:
nullsAreSortedHigh in interface DatabaseMetaData
SQLException

nullsAreSortedLow

public boolean nullsAreSortedLow()
                          throws SQLException
Specified by:
nullsAreSortedLow in interface DatabaseMetaData
SQLException

othersDeletesAreVisible

public boolean othersDeletesAreVisible(int type)
                                throws SQLException
Specified by:
othersDeletesAreVisible in interface DatabaseMetaData
SQLException

othersInsertsAreVisible

public boolean othersInsertsAreVisible(int type)
                                throws SQLException
Specified by:
othersInsertsAreVisible in interface DatabaseMetaData
SQLException

othersUpdatesAreVisible

public boolean othersUpdatesAreVisible(int type)
                                throws SQLException
Specified by:
othersUpdatesAreVisible in interface DatabaseMetaData
SQLException

ownDeletesAreVisible

public boolean ownDeletesAreVisible(int type)
                             throws SQLException
Specified by:
ownDeletesAreVisible in interface DatabaseMetaData
SQLException

ownInsertsAreVisible

public boolean ownInsertsAreVisible(int type)
                             throws SQLException
Specified by:
ownInsertsAreVisible in interface DatabaseMetaData
SQLException

ownUpdatesAreVisible

public boolean ownUpdatesAreVisible(int type)
                             throws SQLException
Specified by:
ownUpdatesAreVisible in interface DatabaseMetaData
SQLException

storesLowerCaseIdentifiers

public boolean storesLowerCaseIdentifiers()
                                   throws SQLException
Specified by:
storesLowerCaseIdentifiers in interface DatabaseMetaData
SQLException

storesLowerCaseQuotedIdentifiers

public boolean storesLowerCaseQuotedIdentifiers()
                                         throws SQLException
Specified by:
storesLowerCaseQuotedIdentifiers in interface DatabaseMetaData
SQLException

storesMixedCaseIdentifiers

public boolean storesMixedCaseIdentifiers()
                                   throws SQLException
Specified by:
storesMixedCaseIdentifiers in interface DatabaseMetaData
SQLException

storesMixedCaseQuotedIdentifiers

public boolean storesMixedCaseQuotedIdentifiers()
                                         throws SQLException
Specified by:
storesMixedCaseQuotedIdentifiers in interface DatabaseMetaData
SQLException

storesUpperCaseIdentifiers

public boolean storesUpperCaseIdentifiers()
                                   throws SQLException
Specified by:
storesUpperCaseIdentifiers in interface DatabaseMetaData
SQLException

storesUpperCaseQuotedIdentifiers

public boolean storesUpperCaseQuotedIdentifiers()
                                         throws SQLException
Specified by:
storesUpperCaseQuotedIdentifiers in interface DatabaseMetaData
SQLException

supportsAlterTableWithAddColumn

public boolean supportsAlterTableWithAddColumn()
                                        throws SQLException
Specified by:
supportsAlterTableWithAddColumn in interface DatabaseMetaData
Returns:
false
SQLException

supportsAlterTableWithDropColumn

public boolean supportsAlterTableWithDropColumn()
                                         throws SQLException
Specified by:
supportsAlterTableWithDropColumn in interface DatabaseMetaData
Returns:
false
SQLException

supportsANSI92EntryLevelSQL

public boolean supportsANSI92EntryLevelSQL()
                                    throws SQLException
ANSI SQL 92 is not supported by default.

Specified by:
supportsANSI92EntryLevelSQL in interface DatabaseMetaData
Returns:
false
SQLException

supportsANSI92FullSQL

public boolean supportsANSI92FullSQL()
                              throws SQLException
ANSI SQL 92 Full is not supported by default.

Specified by:
supportsANSI92FullSQL in interface DatabaseMetaData
Returns:
false
SQLException

supportsANSI92IntermediateSQL

public boolean supportsANSI92IntermediateSQL()
                                      throws SQLException
ANSI SQL 92 Intermediate is not supported by default.

Specified by:
supportsANSI92IntermediateSQL in interface DatabaseMetaData
Returns:
false
SQLException

supportsBatchUpdates

public boolean supportsBatchUpdates()
                             throws SQLException
Specified by:
supportsBatchUpdates in interface DatabaseMetaData
SQLException

supportsCatalogsInDataManipulation

public boolean supportsCatalogsInDataManipulation()
                                           throws SQLException
Specified by:
supportsCatalogsInDataManipulation in interface DatabaseMetaData
SQLException

supportsCatalogsInIndexDefinitions

public boolean supportsCatalogsInIndexDefinitions()
                                           throws SQLException
Specified by:
supportsCatalogsInIndexDefinitions in interface DatabaseMetaData
SQLException

supportsCatalogsInPrivilegeDefinitions

public boolean supportsCatalogsInPrivilegeDefinitions()
                                               throws SQLException
Specified by:
supportsCatalogsInPrivilegeDefinitions in interface DatabaseMetaData
SQLException

supportsCatalogsInProcedureCalls

public boolean supportsCatalogsInProcedureCalls()
                                         throws SQLException
Specified by:
supportsCatalogsInProcedureCalls in interface DatabaseMetaData
SQLException

supportsCatalogsInTableDefinitions

public boolean supportsCatalogsInTableDefinitions()
                                           throws SQLException
Specified by:
supportsCatalogsInTableDefinitions in interface DatabaseMetaData
SQLException

supportsColumnAliasing

public boolean supportsColumnAliasing()
                               throws SQLException
Specified by:
supportsColumnAliasing in interface DatabaseMetaData
Returns:
true
SQLException

supportsConvert

public boolean supportsConvert()
                        throws SQLException
Specified by:
supportsConvert in interface DatabaseMetaData
SQLException

supportsConvert

public boolean supportsConvert(int fromType,
                               int toType)
                        throws SQLException
Specified by:
supportsConvert in interface DatabaseMetaData
SQLException

supportsCoreSQLGrammar

public boolean supportsCoreSQLGrammar()
                               throws SQLException
Core SQL is not supported by default.

Specified by:
supportsCoreSQLGrammar in interface DatabaseMetaData
Returns:
false
SQLException

supportsCorrelatedSubqueries

public boolean supportsCorrelatedSubqueries()
                                     throws SQLException
Specified by:
supportsCorrelatedSubqueries in interface DatabaseMetaData
SQLException

supportsDataDefinitionAndDataManipulationTransactions

public boolean supportsDataDefinitionAndDataManipulationTransactions()
Specified by:
supportsDataDefinitionAndDataManipulationTransactions in interface DatabaseMetaData

supportsDataManipulationTransactionsOnly

public boolean supportsDataManipulationTransactionsOnly()
                                                 throws SQLException
Specified by:
supportsDataManipulationTransactionsOnly in interface DatabaseMetaData
SQLException

supportsDifferentTableCorrelationNames

public boolean supportsDifferentTableCorrelationNames()
                                               throws SQLException
Specified by:
supportsDifferentTableCorrelationNames in interface DatabaseMetaData
SQLException

supportsExpressionsInOrderBy

public boolean supportsExpressionsInOrderBy()
                                     throws SQLException
Specified by:
supportsExpressionsInOrderBy in interface DatabaseMetaData
SQLException

supportsExtendedSQLGrammar

public boolean supportsExtendedSQLGrammar()
                                   throws SQLException
Extended SQL is not supported by default.

Specified by:
supportsExtendedSQLGrammar in interface DatabaseMetaData
Returns:
false
SQLException

supportsFullOuterJoins

public boolean supportsFullOuterJoins()
                               throws SQLException
Specified by:
supportsFullOuterJoins in interface DatabaseMetaData
SQLException

supportsGetGeneratedKeys

public boolean supportsGetGeneratedKeys()
Specified by:
supportsGetGeneratedKeys in interface DatabaseMetaData

supportsGroupBy

public boolean supportsGroupBy()
                        throws SQLException
Specified by:
supportsGroupBy in interface DatabaseMetaData
SQLException

supportsGroupByBeyondSelect

public boolean supportsGroupByBeyondSelect()
                                    throws SQLException
Specified by:
supportsGroupByBeyondSelect in interface DatabaseMetaData
SQLException

supportsGroupByUnrelated

public boolean supportsGroupByUnrelated()
                                 throws SQLException
Specified by:
supportsGroupByUnrelated in interface DatabaseMetaData
SQLException

supportsIntegrityEnhancementFacility

public boolean supportsIntegrityEnhancementFacility()
                                             throws SQLException
Specified by:
supportsIntegrityEnhancementFacility in interface DatabaseMetaData
SQLException

supportsLikeEscapeClause

public boolean supportsLikeEscapeClause()
                                 throws SQLException
Specified by:
supportsLikeEscapeClause in interface DatabaseMetaData
SQLException

supportsLimitedOuterJoins

public boolean supportsLimitedOuterJoins()
                                  throws SQLException
Specified by:
supportsLimitedOuterJoins in interface DatabaseMetaData
SQLException

supportsMinimumSQLGrammar

public boolean supportsMinimumSQLGrammar()
                                  throws SQLException
Some SQL is surely supported.

Specified by:
supportsMinimumSQLGrammar in interface DatabaseMetaData
Returns:
true
SQLException

supportsMixedCaseIdentifiers

public boolean supportsMixedCaseIdentifiers()
                                     throws SQLException
Specified by:
supportsMixedCaseIdentifiers in interface DatabaseMetaData
SQLException

supportsMixedCaseQuotedIdentifiers

public boolean supportsMixedCaseQuotedIdentifiers()
                                           throws SQLException
Specified by:
supportsMixedCaseQuotedIdentifiers in interface DatabaseMetaData
SQLException

supportsMultipleOpenResults

public boolean supportsMultipleOpenResults()
Specified by:
supportsMultipleOpenResults in interface DatabaseMetaData

supportsMultipleResultSets

public boolean supportsMultipleResultSets()
                                   throws SQLException
Specified by:
supportsMultipleResultSets in interface DatabaseMetaData
SQLException

supportsMultipleTransactions

public boolean supportsMultipleTransactions()
                                     throws SQLException
Specified by:
supportsMultipleTransactions in interface DatabaseMetaData
SQLException

supportsNamedParameters

public boolean supportsNamedParameters()
Specified by:
supportsNamedParameters in interface DatabaseMetaData

supportsNonNullableColumns

public boolean supportsNonNullableColumns()
                                   throws SQLException
Specified by:
supportsNonNullableColumns in interface DatabaseMetaData
SQLException

supportsOpenCursorsAcrossCommit

public boolean supportsOpenCursorsAcrossCommit()
                                        throws SQLException
Specified by:
supportsOpenCursorsAcrossCommit in interface DatabaseMetaData
SQLException

supportsOpenCursorsAcrossRollback

public boolean supportsOpenCursorsAcrossRollback()
                                          throws SQLException
Specified by:
supportsOpenCursorsAcrossRollback in interface DatabaseMetaData
SQLException

supportsOpenStatementsAcrossCommit

public boolean supportsOpenStatementsAcrossCommit()
                                           throws SQLException
Specified by:
supportsOpenStatementsAcrossCommit in interface DatabaseMetaData
SQLException

supportsOpenStatementsAcrossRollback

public boolean supportsOpenStatementsAcrossRollback()
                                             throws SQLException
Specified by:
supportsOpenStatementsAcrossRollback in interface DatabaseMetaData
SQLException

supportsOrderByUnrelated

public boolean supportsOrderByUnrelated()
                                 throws SQLException
Specified by:
supportsOrderByUnrelated in interface DatabaseMetaData
SQLException

supportsOuterJoins

public boolean supportsOuterJoins()
                           throws SQLException
Specified by:
supportsOuterJoins in interface DatabaseMetaData
SQLException

supportsPositionedDelete

public boolean supportsPositionedDelete()
                                 throws SQLException
Specified by:
supportsPositionedDelete in interface DatabaseMetaData
SQLException

supportsPositionedUpdate

public boolean supportsPositionedUpdate()
                                 throws SQLException
Specified by:
supportsPositionedUpdate in interface DatabaseMetaData
SQLException

supportsResultSetConcurrency

public boolean supportsResultSetConcurrency(int type,
                                            int concurrency)
                                     throws SQLException
Specified by:
supportsResultSetConcurrency in interface DatabaseMetaData
SQLException

supportsResultSetHoldability

public boolean supportsResultSetHoldability(int holdability)
Specified by:
supportsResultSetHoldability in interface DatabaseMetaData

supportsResultSetType

public boolean supportsResultSetType(int type)
                              throws SQLException
Specified by:
supportsResultSetType in interface DatabaseMetaData
SQLException

supportsSavepoints

public boolean supportsSavepoints()
Specified by:
supportsSavepoints in interface DatabaseMetaData

supportsSchemasInDataManipulation

public boolean supportsSchemasInDataManipulation()
                                          throws SQLException
Specified by:
supportsSchemasInDataManipulation in interface DatabaseMetaData
SQLException

supportsSchemasInIndexDefinitions

public boolean supportsSchemasInIndexDefinitions()
                                          throws SQLException
Specified by:
supportsSchemasInIndexDefinitions in interface DatabaseMetaData
SQLException

supportsSchemasInPrivilegeDefinitions

public boolean supportsSchemasInPrivilegeDefinitions()
                                              throws SQLException
Specified by:
supportsSchemasInPrivilegeDefinitions in interface DatabaseMetaData
SQLException

supportsSchemasInProcedureCalls

public boolean supportsSchemasInProcedureCalls()
                                        throws SQLException
Specified by:
supportsSchemasInProcedureCalls in interface DatabaseMetaData
SQLException

supportsSchemasInTableDefinitions

public boolean supportsSchemasInTableDefinitions()
                                          throws SQLException
Specified by:
supportsSchemasInTableDefinitions in interface DatabaseMetaData
SQLException

supportsSelectForUpdate

public boolean supportsSelectForUpdate()
                                throws SQLException
Specified by:
supportsSelectForUpdate in interface DatabaseMetaData
SQLException

supportsStatementPooling

public boolean supportsStatementPooling()
                                 throws SQLException
Specified by:
supportsStatementPooling in interface DatabaseMetaData
SQLException

supportsStoredProcedures

public boolean supportsStoredProcedures()
                                 throws SQLException
Specified by:
supportsStoredProcedures in interface DatabaseMetaData
SQLException

supportsSubqueriesInComparisons

public boolean supportsSubqueriesInComparisons()
                                        throws SQLException
Specified by:
supportsSubqueriesInComparisons in interface DatabaseMetaData
SQLException

supportsSubqueriesInExists

public boolean supportsSubqueriesInExists()
                                   throws SQLException
Specified by:
supportsSubqueriesInExists in interface DatabaseMetaData
SQLException

supportsSubqueriesInIns

public boolean supportsSubqueriesInIns()
                                throws SQLException
Specified by:
supportsSubqueriesInIns in interface DatabaseMetaData
SQLException

supportsSubqueriesInQuantifieds

public boolean supportsSubqueriesInQuantifieds()
                                        throws SQLException
Specified by:
supportsSubqueriesInQuantifieds in interface DatabaseMetaData
SQLException

supportsTableCorrelationNames

public boolean supportsTableCorrelationNames()
                                      throws SQLException
Specified by:
supportsTableCorrelationNames in interface DatabaseMetaData
SQLException

supportsTransactionIsolationLevel

public boolean supportsTransactionIsolationLevel(int level)
                                          throws SQLException
Specified by:
supportsTransactionIsolationLevel in interface DatabaseMetaData
SQLException

supportsTransactions

public boolean supportsTransactions()
                             throws SQLException
Specified by:
supportsTransactions in interface DatabaseMetaData
SQLException

supportsUnion

public boolean supportsUnion()
                      throws SQLException
Specified by:
supportsUnion in interface DatabaseMetaData
SQLException

supportsUnionAll

public boolean supportsUnionAll()
                         throws SQLException
Specified by:
supportsUnionAll in interface DatabaseMetaData
SQLException

toString

public String toString()
Dump everything into a String (costy operation).

Overrides:
toString in class Object

updatesAreDetected

public boolean updatesAreDetected(int type)
                           throws SQLException
Specified by:
updatesAreDetected in interface DatabaseMetaData
SQLException

usesLocalFilePerTable

public boolean usesLocalFilePerTable()
                              throws SQLException
Specified by:
usesLocalFilePerTable in interface DatabaseMetaData
SQLException

usesLocalFiles

public boolean usesLocalFiles()
                       throws SQLException
Specified by:
usesLocalFiles in interface DatabaseMetaData
SQLException

jxDBCon 0.9z

Copyright © 2001,2002 Keve Müller; see LICENSE file for details.