org.axiondb.jdbc
Class AxionDatabaseMetaData

java.lang.Object
  extended by org.axiondb.jdbc.AxionDatabaseMetaData
All Implemented Interfaces:
DatabaseMetaData, Wrapper

public class AxionDatabaseMetaData
extends Object
implements DatabaseMetaData

A DatabaseMetaDataimplementation.

Version:
$Revision: 1.36 $ $Date: 2007/11/13 19:04:01 $

Field Summary
 
Fields inherited from interface java.sql.DatabaseMetaData
attributeNoNulls, attributeNullable, attributeNullableUnknown, bestRowNotPseudo, bestRowPseudo, bestRowSession, bestRowTemporary, bestRowTransaction, bestRowUnknown, columnNoNulls, columnNullable, columnNullableUnknown, functionColumnIn, functionColumnInOut, functionColumnOut, functionColumnResult, functionColumnUnknown, functionNoNulls, functionNoTable, functionNullable, functionNullableUnknown, functionResultUnknown, functionReturn, functionReturnsTable, importedKeyCascade, importedKeyInitiallyDeferred, importedKeyInitiallyImmediate, importedKeyNoAction, importedKeyNotDeferrable, importedKeyRestrict, importedKeySetDefault, importedKeySetNull, procedureColumnIn, procedureColumnInOut, procedureColumnOut, procedureColumnResult, procedureColumnReturn, procedureColumnUnknown, procedureNoNulls, procedureNoResult, procedureNullable, procedureNullableUnknown, procedureResultUnknown, procedureReturnsResult, sqlStateSQL, sqlStateSQL99, sqlStateXOpen, tableIndexClustered, tableIndexHashed, tableIndexOther, tableIndexStatistic, typeNoNulls, typeNullable, typeNullableUnknown, typePredBasic, typePredChar, typePredNone, typeSearchable, versionColumnNotPseudo, versionColumnPseudo, versionColumnUnknown
 
Constructor Summary
AxionDatabaseMetaData(AxionConnection conn, Database db)
           
 
Method Summary
 boolean allProceduresAreCallable()
          Currently returns false.
 boolean allTablesAreSelectable()
          Returns true, since all tables are indeed selectable.
 boolean autoCommitFailureClosesAllResultSets()
           
 boolean dataDefinitionCausesTransactionCommit()
          Returns false, since Axion currently doesn't treat Data Definition Language (DDL) statements like CREATE or DROP transactionally.
 boolean dataDefinitionIgnoredInTransactions()
          Returns false, since Axion currently doesn't treat Data Definition Language (DDL) statements like CREATE or DROP transactionally.
 boolean deletesAreDetected(int type)
          Currently not supported.
 boolean doesMaxRowSizeIncludeBlobs()
          Returns false since LOB sizes are not counted in the maximum row size(which is unbounded anyway).
 ResultSet getAttributes(String arg0, String arg1, String arg2, String arg3)
          Currently unsupported.
 ResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable)
          Currently not supported.
 ResultSet getCatalogs()
          Supported.
 String getCatalogSeparator()
          Currently not supported.
 String getCatalogTerm()
          Currently not supported.
 ResultSet getClientInfoProperties()
           
 ResultSet getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern)
          Currently not supported.
 ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern)
          Supported,
 Connection getConnection()
          Returns my Connection.
 ResultSet getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable)
          Currently not supported.
 int getDatabaseMajorVersion()
           
 int getDatabaseMinorVersion()
           
 String getDatabaseProductName()
          Currently returns "AxionDB".
 String getDatabaseProductVersion()
          Currently returns "1.0M1".
 int getDefaultTransactionIsolation()
          Returns Connection.TRANSACTION_SERIALIZABLE.
 int getDriverMajorVersion()
          Currently returns 0.
 int getDriverMinorVersion()
          Currently returns 1.
 String getDriverName()
          Currently returns "Axion JDBC Driver".
 String getDriverVersion()
          Currently returns "1.0M1".
 ResultSet getExportedKeys(String catalog, String schema, String table)
          Currently not supported.
 String getExtraNameCharacters()
          Currently not supported.
 ResultSet getFunctionColumns(String arg0, String arg1, String arg2, String arg3)
           
 ResultSet getFunctions(String arg0, String arg1, String arg2)
           
 String getIdentifierQuoteString()
          Returns " as Axion now supports quoted identifiers to allow for escaping of reserved words for use as table or column identifiers.
 ResultSet getImportedKeys(String catalog, String schema, String table)
          Currently not supported.
 ResultSet getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate)
          Partially supported.
 int getJDBCMajorVersion()
          Supported.
 int getJDBCMinorVersion()
          Supported.
 int getMaxBinaryLiteralLength()
          Returns 0.
 int getMaxCatalogNameLength()
          Returns 0.
 int getMaxCharLiteralLength()
          Returns 0.
 int getMaxColumnNameLength()
          Returns Integer.MAX_VALUE, since Axion has no hard limit on the length of a column name.
 int getMaxColumnsInGroupBy()
          Returns 0.
 int getMaxColumnsInIndex()
          Returns 1, since Axion currently doesn't support multi-column indices.
 int getMaxColumnsInOrderBy()
          Returns Integer.MAX_VALUE, the maximum number of columns Axion can manage in a single ORDER BY clause.
 int getMaxColumnsInSelect()
          Returns Integer.MAX_VALUE, the maximum number of columns Axion can manage in a single SELECT clause.
 int getMaxColumnsInTable()
          Returns Integer.MAX_VALUE, the maximum number of columns Axion can manage in a single table.
 int getMaxConnections()
          Returns 0, since Axion has no hard limit on the number of connections.
 int getMaxCursorNameLength()
          Returns 0 since named cursors are not supported.
 int getMaxIndexLength()
          Returns 0.
 int getMaxProcedureNameLength()
          Returns 0.
 int getMaxRowSize()
          Returns 0, since Axion has no hard limit on the size of a row.
 int getMaxSchemaNameLength()
          Returns 0.
 int getMaxStatementLength()
          Returns 0, since Axion has no hard limit on the size of a statement.
 int getMaxStatements()
          Returns 0.
 int getMaxTableNameLength()
          Returns Integer.MAX_VALUE.
 int getMaxTablesInSelect()
          Returns Integer.MAX_VALUE, the maximum number of tables Axion can manage in a single SELECT statement.
 int getMaxUserNameLength()
          Returns 0.
 String getNumericFunctions()
          Currently not supported.
 ResultSet getPrimaryKeys(String catalog, String schema, String table)
          Currently not supported.
 ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern)
          Currently not supported.
 ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern)
          Currently not supported.
 String getProcedureTerm()
          Currently not supported.
 int getResultSetHoldability()
           
 RowIdLifetime getRowIdLifetime()
           
 ResultSet getSchemas()
          Supported.
 ResultSet getSchemas(String arg0, String arg1)
           
 String getSchemaTerm()
          Currently not supported.
 String getSearchStringEscape()
          Currently not supported.
 String getSQLKeywords()
          Currently not supported.
 int getSQLStateType()
          Currently unsupported.
 String getStringFunctions()
          Currently not supported.
 ResultSet getSuperTables(String arg0, String arg1, String arg2)
          Always empty, super tables are currently not supported.
 ResultSet getSuperTypes(String arg0, String arg1, String arg2)
          Always empty, super types are currently not supported.
 String getSystemFunctions()
          Currently not supported.
 ResultSet getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern)
          Currently not supported.
 ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types)
          Supported.
 ResultSet getTableTypes()
          Supported.
 String getTimeDateFunctions()
          Currently not supported.
 ResultSet getTypeInfo()
          Supported.
 ResultSet getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types)
          Currently not supported.
 String getURL()
          Returns the connect string used to establish my Connection.
 String getUserName()
          Currently returns null.
 ResultSet getVersionColumns(String catalog, String schema, String table)
          Currently not supported.
 boolean insertsAreDetected(int type)
          Retrieves whether or not a visible row insert can be detected by calling the method ResultSet.rowInserted.
 boolean isCatalogAtStart()
          Currently not supported.
 boolean isReadOnly()
          Returns true when this database is known to be read only, false otherwise.
 boolean isWrapperFor(Class<?> arg0)
           
 boolean locatorsUpdateCopy()
          Currently unsupported.
 boolean nullPlusNonNullIsNull()
          Returns true.
 boolean nullsAreSortedAtEnd()
          Returns false, since null s are considered greater than any non- null value.
 boolean nullsAreSortedAtStart()
          Returns false, since null s are considered greater than any non- null value.
 boolean nullsAreSortedHigh()
          Returns true, since null s are considered greater than any non- null value.
 boolean nullsAreSortedLow()
          Returns false, since null s are considered greater than any non- null value.
 boolean othersDeletesAreVisible(int type)
          Currently not supported.
 boolean othersInsertsAreVisible(int type)
          Currently not supported.
 boolean othersUpdatesAreVisible(int type)
          Currently not supported.
 boolean ownDeletesAreVisible(int type)
          Retrieves whether for the given type of ResultSet object, the result set's own deletes are visible.
 boolean ownInsertsAreVisible(int type)
          Currently supported.
 boolean ownUpdatesAreVisible(int type)
          Retrieves whether for the given type of ResultSet object, the result set's own updates are visible.
 boolean storesLowerCaseIdentifiers()
          Returns false, since Axion currently ignores case in identifiers, and stores them internally as upper case values.
 boolean storesLowerCaseQuotedIdentifiers()
          Returns false, since Axion currently ignores case in identifiers, and stores them internally as upper case values.
 boolean storesMixedCaseIdentifiers()
          Returns false, since Axion currently ignores case in identifiers, and stores them internally as upper case values.
 boolean storesMixedCaseQuotedIdentifiers()
          Returns false, since Axion currently ignores case in identifiers, and stores them internally as upper case values.
 boolean storesUpperCaseIdentifiers()
          Returns true, since Axion currently ignores case in identifiers, and stores them internally as upper case values.
 boolean storesUpperCaseQuotedIdentifiers()
          Returns true.
 boolean supportsAlterTableWithAddColumn()
          Returns true as this feature is currently supported.
 boolean supportsAlterTableWithDropColumn()
          Returns false as this feature is currently not supported.
 boolean supportsANSI92EntryLevelSQL()
          Supported.
 boolean supportsANSI92FullSQL()
          Currently not supported.
 boolean supportsANSI92IntermediateSQL()
          Currently not supported.
 boolean supportsBatchUpdates()
          Returns true, since Axion supports addBatch,clearBatch and executeBatch.
 boolean supportsCatalogsInDataManipulation()
          Returns false as this feature is currently not supported.
 boolean supportsCatalogsInIndexDefinitions()
          Returns false as this feature is currently not supported.
 boolean supportsCatalogsInPrivilegeDefinitions()
          Returns false as this feature is currently not supported.
 boolean supportsCatalogsInProcedureCalls()
          Returns false as this feature is currently not supported.
 boolean supportsCatalogsInTableDefinitions()
          Returns false as this feature is currently not supported.
 boolean supportsColumnAliasing()
          Returns true, since Axion supports column aliasing.
 boolean supportsConvert()
          Returns true; use CAST(col AS type)
 boolean supportsConvert(int fromType, int toType)
          Returns false as this feature is currently not supported.
 boolean supportsCoreSQLGrammar()
          Currently not supported.
 boolean supportsCorrelatedSubqueries()
          Returns true.
 boolean supportsDataDefinitionAndDataManipulationTransactions()
          Returns false, since Axion currently doesn't treat Data Definition Language (DDL) statements like CREATE or DROP transactionally.
 boolean supportsDataManipulationTransactionsOnly()
          Returns true.
 boolean supportsDifferentTableCorrelationNames()
          Returns true as Axion supports table aliasing.
 boolean supportsExpressionsInOrderBy()
          Returns true.
 boolean supportsExtendedSQLGrammar()
          Currently not supported.
 boolean supportsFullOuterJoins()
          Returns false.
 boolean supportsGetGeneratedKeys()
          Currently always false.
 boolean supportsGroupBy()
          Is some form of "GROUP BY" clause supported? Returns true
 boolean supportsGroupByBeyondSelect()
          Can a "GROUP BY" clause add columns not in the SELECT provided it specifies all the columns in the SELECT? Returns true
 boolean supportsGroupByUnrelated()
          Can a "GROUP BY" clause use columns not in the SELECT? Returns true
 boolean supportsIntegrityEnhancementFacility()
          Currently not supported.
 boolean supportsLikeEscapeClause()
          Supported.
 boolean supportsLimitedOuterJoins()
          Returns true.
 boolean supportsMinimumSQLGrammar()
          Returns true as Axion supports the "ODBC Minimum SQL Grammar" .
 boolean supportsMixedCaseIdentifiers()
          Returns false, since Axion currently ignores case in identifiers.
 boolean supportsMixedCaseQuotedIdentifiers()
          Returns false, since Axion currently ignores case in identifiers.
 boolean supportsMultipleOpenResults()
          Currently always false.
 boolean supportsMultipleResultSets()
          Returns false as this feature is currently unsupported.
 boolean supportsMultipleTransactions()
          Returns true, Axion supports multiple transactions.
 boolean supportsNamedParameters()
          Currently always false.
 boolean supportsNonNullableColumns()
          Returns true, Axion supports NOT NULL constraints.
 boolean supportsOpenCursorsAcrossCommit()
          Returns false.
 boolean supportsOpenCursorsAcrossRollback()
          Returns false.
 boolean supportsOpenStatementsAcrossCommit()
          Returns true.
 boolean supportsOpenStatementsAcrossRollback()
          Returns true.
 boolean supportsOrderByUnrelated()
          Returns true, since Axion allows arbitrary columns in an ORDER BY.
 boolean supportsOuterJoins()
          Returns true.
 boolean supportsPositionedDelete()
          Returns true since this feature is currently supported.
 boolean supportsPositionedUpdate()
          Returns true since this feature is currently supported.
 boolean supportsResultSetConcurrency(int type, int concurrency)
          Returns true iff type is supported and concurrency is ResultSet.CONCUR_READ_ONLYor ResultSet.CONCUR_UPDATABLE.
 boolean supportsResultSetHoldability(int code)
           
 boolean supportsResultSetType(int type)
          Returns true iff type is ResultSet.TYPE_FORWARD_ONLY or ResultSet.TYPE_SCROLL_SENSITIVE.
 boolean supportsSavepoints()
          Currently always false.
 boolean supportsSchemasInDataManipulation()
          Returns false as this feature is currently not supported.
 boolean supportsSchemasInIndexDefinitions()
          Returns false as this feature is currently not supported.
 boolean supportsSchemasInPrivilegeDefinitions()
          Currently not supported.
 boolean supportsSchemasInProcedureCalls()
          Returns false as this feature is currently not supported.
 boolean supportsSchemasInTableDefinitions()
          Currently not supported.
 boolean supportsSelectForUpdate()
          Returns false as this feature is currently not supported.
 boolean supportsStatementPooling()
          Currently always false.
 boolean supportsStoredFunctionsUsingCallSyntax()
           
 boolean supportsStoredProcedures()
          Returns false as this feature is currently not supported.
 boolean supportsSubqueriesInComparisons()
          Returns true since you could use id = {sub-select}.
 boolean supportsSubqueriesInExists()
          Returns true
 boolean supportsSubqueriesInIns()
          Returns true
 boolean supportsSubqueriesInQuantifieds()
          Returns true as this feature is currently supported.
 boolean supportsTableCorrelationNames()
          Returns true as Axion supports table aliasing.
 boolean supportsTransactionIsolationLevel(int level)
          Returns true iff level is Connection.TRANSACTION_SERIALIZABLEsince Axion supports TRANSACTION_SERIALIZABLE transactions only.
 boolean supportsTransactions()
          Returns true, since Axion supports transactions.
 boolean supportsUnion()
          Returns false since UNION queries are currently not supported..
 boolean supportsUnionAll()
          Returns false as this feature is currently not supported.
<T> T
unwrap(Class<T> arg0)
           
 boolean updatesAreDetected(int type)
          Retrieves whether or not a visible row update can be detected by calling the method ResultSet.rowUpdated.
 boolean usesLocalFilePerTable()
          Returns false, since the driver does not require local files
 boolean usesLocalFiles()
          Returns false, since the driver does not require local files
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxionDatabaseMetaData

public AxionDatabaseMetaData(AxionConnection conn,
                             Database db)
Method Detail

getDatabaseProductName

public String getDatabaseProductName()
                              throws SQLException
Currently returns "AxionDB".

Specified by:
getDatabaseProductName in interface DatabaseMetaData
Throws:
SQLException

getDatabaseProductVersion

public String getDatabaseProductVersion()
                                 throws SQLException
Currently returns "1.0M1".

Specified by:
getDatabaseProductVersion in interface DatabaseMetaData
Throws:
SQLException

getDriverName

public String getDriverName()
                     throws SQLException
Currently returns "Axion JDBC Driver".

Specified by:
getDriverName in interface DatabaseMetaData
Throws:
SQLException

getDriverVersion

public String getDriverVersion()
                        throws SQLException
Currently returns "1.0M1".

Specified by:
getDriverVersion in interface DatabaseMetaData
Throws:
SQLException

getDriverMajorVersion

public int getDriverMajorVersion()
Currently returns 0.

Specified by:
getDriverMajorVersion in interface DatabaseMetaData

getDriverMinorVersion

public int getDriverMinorVersion()
Currently returns 1.

Specified by:
getDriverMinorVersion in interface DatabaseMetaData

getUserName

public String getUserName()
                   throws SQLException
Currently returns null.

Specified by:
getUserName in interface DatabaseMetaData
Throws:
SQLException

allProceduresAreCallable

public boolean allProceduresAreCallable()
                                 throws SQLException
Currently returns false.

Specified by:
allProceduresAreCallable in interface DatabaseMetaData
Throws:
SQLException

allTablesAreSelectable

public boolean allTablesAreSelectable()
                               throws SQLException
Returns true, since all tables are indeed selectable.

Specified by:
allTablesAreSelectable in interface DatabaseMetaData
Throws:
SQLException

isReadOnly

public boolean isReadOnly()
                   throws SQLException
Returns true when this database is known to be read only, false otherwise.

Specified by:
isReadOnly in interface DatabaseMetaData
Throws:
SQLException

supportsMixedCaseIdentifiers

public boolean supportsMixedCaseIdentifiers()
                                     throws SQLException
Returns false, since Axion currently ignores case in identifiers.

Specified by:
supportsMixedCaseIdentifiers in interface DatabaseMetaData
Throws:
SQLException

supportsColumnAliasing

public boolean supportsColumnAliasing()
                               throws SQLException
Returns true, since Axion supports column aliasing.

Specified by:
supportsColumnAliasing in interface DatabaseMetaData
Throws:
SQLException

supportsBatchUpdates

public boolean supportsBatchUpdates()
                             throws SQLException
Returns true, since Axion supports addBatch,clearBatch and executeBatch.

Specified by:
supportsBatchUpdates in interface DatabaseMetaData
Throws:
SQLException

getConnection

public Connection getConnection()
                         throws SQLException
Returns my Connection.

Specified by:
getConnection in interface DatabaseMetaData
Throws:
SQLException

nullsAreSortedHigh

public boolean nullsAreSortedHigh()
                           throws SQLException
Returns true, since null s are considered greater than any non- null value.

Specified by:
nullsAreSortedHigh in interface DatabaseMetaData
Throws:
SQLException

nullsAreSortedLow

public boolean nullsAreSortedLow()
                          throws SQLException
Returns false, since null s are considered greater than any non- null value.

Specified by:
nullsAreSortedLow in interface DatabaseMetaData
Throws:
SQLException
See Also:
nullsAreSortedHigh()

nullsAreSortedAtStart

public boolean nullsAreSortedAtStart()
                              throws SQLException
Returns false, since null s are considered greater than any non- null value.

Specified by:
nullsAreSortedAtStart in interface DatabaseMetaData
Throws:
SQLException
See Also:
nullsAreSortedHigh()

nullsAreSortedAtEnd

public boolean nullsAreSortedAtEnd()
                            throws SQLException
Returns false, since null s are considered greater than any non- null value.

Specified by:
nullsAreSortedAtEnd in interface DatabaseMetaData
Throws:
SQLException
See Also:
nullsAreSortedHigh()

storesLowerCaseIdentifiers

public boolean storesLowerCaseIdentifiers()
                                   throws SQLException
Returns false, since Axion currently ignores case in identifiers, and stores them internally as upper case values.

Specified by:
storesLowerCaseIdentifiers in interface DatabaseMetaData
Throws:
SQLException

supportsMixedCaseQuotedIdentifiers

public boolean supportsMixedCaseQuotedIdentifiers()
                                           throws SQLException
Returns false, since Axion currently ignores case in identifiers.

Specified by:
supportsMixedCaseQuotedIdentifiers in interface DatabaseMetaData
Throws:
SQLException

storesMixedCaseQuotedIdentifiers

public boolean storesMixedCaseQuotedIdentifiers()
                                         throws SQLException
Returns false, since Axion currently ignores case in identifiers, and stores them internally as upper case values.

Specified by:
storesMixedCaseQuotedIdentifiers in interface DatabaseMetaData
Throws:
SQLException

storesUpperCaseIdentifiers

public boolean storesUpperCaseIdentifiers()
                                   throws SQLException
Returns true, since Axion currently ignores case in identifiers, and stores them internally as upper case values.

Specified by:
storesUpperCaseIdentifiers in interface DatabaseMetaData
Throws:
SQLException

storesLowerCaseQuotedIdentifiers

public boolean storesLowerCaseQuotedIdentifiers()
                                         throws SQLException
Returns false, since Axion currently ignores case in identifiers, and stores them internally as upper case values. Quoted identifiers are also currently unsupported.

Specified by:
storesLowerCaseQuotedIdentifiers in interface DatabaseMetaData
Throws:
SQLException

storesMixedCaseIdentifiers

public boolean storesMixedCaseIdentifiers()
                                   throws SQLException
Returns false, since Axion currently ignores case in identifiers, and stores them internally as upper case values.

Specified by:
storesMixedCaseIdentifiers in interface DatabaseMetaData
Throws:
SQLException

getMaxRowSize

public int getMaxRowSize()
                  throws SQLException
Returns 0, since Axion has no hard limit on the size of a row.

Specified by:
getMaxRowSize in interface DatabaseMetaData
Throws:
SQLException

getMaxStatementLength

public int getMaxStatementLength()
                          throws SQLException
Returns 0, since Axion has no hard limit on the size of a statement.

Specified by:
getMaxStatementLength in interface DatabaseMetaData
Throws:
SQLException

getMaxConnections

public int getMaxConnections()
                      throws SQLException
Returns 0, since Axion has no hard limit on the number of connections.

Specified by:
getMaxConnections in interface DatabaseMetaData
Throws:
SQLException

getMaxColumnNameLength

public int getMaxColumnNameLength()
                           throws SQLException
Returns Integer.MAX_VALUE, since Axion has no hard limit on the length of a column name.

Specified by:
getMaxColumnNameLength in interface DatabaseMetaData
Throws:
SQLException

getMaxColumnsInIndex

public int getMaxColumnsInIndex()
                         throws SQLException
Returns 1, since Axion currently doesn't support multi-column indices.

Specified by:
getMaxColumnsInIndex in interface DatabaseMetaData
Throws:
SQLException

getMaxTablesInSelect

public int getMaxTablesInSelect()
                         throws SQLException
Returns Integer.MAX_VALUE, the maximum number of tables Axion can manage in a single SELECT statement.

Specified by:
getMaxTablesInSelect in interface DatabaseMetaData
Throws:
SQLException

getMaxColumnsInOrderBy

public int getMaxColumnsInOrderBy()
                           throws SQLException
Returns Integer.MAX_VALUE, the maximum number of columns Axion can manage in a single ORDER BY clause.

Specified by:
getMaxColumnsInOrderBy in interface DatabaseMetaData
Throws:
SQLException

getMaxColumnsInSelect

public int getMaxColumnsInSelect()
                          throws SQLException
Returns Integer.MAX_VALUE, the maximum number of columns Axion can manage in a single SELECT clause.

Specified by:
getMaxColumnsInSelect in interface DatabaseMetaData
Throws:
SQLException

getMaxColumnsInTable

public int getMaxColumnsInTable()
                         throws SQLException
Returns Integer.MAX_VALUE, the maximum number of columns Axion can manage in a single table.

Specified by:
getMaxColumnsInTable in interface DatabaseMetaData
Throws:
SQLException

getMaxColumnsInGroupBy

public int getMaxColumnsInGroupBy()
                           throws SQLException
Returns 0.

Specified by:
getMaxColumnsInGroupBy in interface DatabaseMetaData
Throws:
SQLException

supportsUnion

public boolean supportsUnion()
                      throws SQLException
Returns false since UNION queries are currently not supported..

Specified by:
supportsUnion in interface DatabaseMetaData
Throws:
SQLException

getMaxSchemaNameLength

public int getMaxSchemaNameLength()
                           throws SQLException
Returns 0.

Specified by:
getMaxSchemaNameLength in interface DatabaseMetaData
Throws:
SQLException

getMaxStatements

public int getMaxStatements()
                     throws SQLException
Returns 0.

Specified by:
getMaxStatements in interface DatabaseMetaData
Throws:
SQLException

getMaxTableNameLength

public int getMaxTableNameLength()
                          throws SQLException
Returns Integer.MAX_VALUE.

Specified by:
getMaxTableNameLength in interface DatabaseMetaData
Throws:
SQLException

getMaxUserNameLength

public int getMaxUserNameLength()
                         throws SQLException
Returns 0.

Specified by:
getMaxUserNameLength in interface DatabaseMetaData
Throws:
SQLException

getMaxBinaryLiteralLength

public int getMaxBinaryLiteralLength()
                              throws SQLException
Returns 0.

Specified by:
getMaxBinaryLiteralLength in interface DatabaseMetaData
Throws:
SQLException

getMaxCharLiteralLength

public int getMaxCharLiteralLength()
                            throws SQLException
Returns 0.

Specified by:
getMaxCharLiteralLength in interface DatabaseMetaData
Throws:
SQLException

getMaxIndexLength

public int getMaxIndexLength()
                      throws SQLException
Returns 0.

Specified by:
getMaxIndexLength in interface DatabaseMetaData
Throws:
SQLException

getMaxProcedureNameLength

public int getMaxProcedureNameLength()
                              throws SQLException
Returns 0.

Specified by:
getMaxProcedureNameLength in interface DatabaseMetaData
Throws:
SQLException

getMaxCatalogNameLength

public int getMaxCatalogNameLength()
                            throws SQLException
Returns 0.

Specified by:
getMaxCatalogNameLength in interface DatabaseMetaData
Throws:
SQLException

getDefaultTransactionIsolation

public int getDefaultTransactionIsolation()
                                   throws SQLException
Returns Connection.TRANSACTION_SERIALIZABLE.

Specified by:
getDefaultTransactionIsolation in interface DatabaseMetaData
Throws:
SQLException

getURL

public String getURL()
              throws SQLException
Returns the connect string used to establish my Connection.

Specified by:
getURL in interface DatabaseMetaData
Throws:
SQLException

supportsSelectForUpdate

public boolean supportsSelectForUpdate()
                                throws SQLException
Returns false as this feature is currently not supported.

Specified by:
supportsSelectForUpdate in interface DatabaseMetaData
Throws:
SQLException

supportsStoredProcedures

public boolean supportsStoredProcedures()
                                 throws SQLException
Returns false as this feature is currently not supported.

Specified by:
supportsStoredProcedures in interface DatabaseMetaData
Throws:
SQLException

supportsSubqueriesInComparisons

public boolean supportsSubqueriesInComparisons()
                                        throws SQLException
Returns true since you could use id = {sub-select}.

Specified by:
supportsSubqueriesInComparisons in interface DatabaseMetaData
Throws:
SQLException

supportsSubqueriesInExists

public boolean supportsSubqueriesInExists()
                                   throws SQLException
Returns true

Specified by:
supportsSubqueriesInExists in interface DatabaseMetaData
Throws:
SQLException

supportsSubqueriesInIns

public boolean supportsSubqueriesInIns()
                                throws SQLException
Returns true

Specified by:
supportsSubqueriesInIns in interface DatabaseMetaData
Throws:
SQLException

supportsSubqueriesInQuantifieds

public boolean supportsSubqueriesInQuantifieds()
                                        throws SQLException
Returns true as this feature is currently supported.

Specified by:
supportsSubqueriesInQuantifieds in interface DatabaseMetaData
Throws:
SQLException

supportsAlterTableWithDropColumn

public boolean supportsAlterTableWithDropColumn()
                                         throws SQLException
Returns false as this feature is currently not supported.

Specified by:
supportsAlterTableWithDropColumn in interface DatabaseMetaData
Throws:
SQLException

supportsAlterTableWithAddColumn

public boolean supportsAlterTableWithAddColumn()
                                        throws SQLException
Returns true as this feature is currently supported.

Specified by:
supportsAlterTableWithAddColumn in interface DatabaseMetaData
Throws:
SQLException

supportsSchemasInDataManipulation

public boolean supportsSchemasInDataManipulation()
                                          throws SQLException
Returns false as this feature is currently not supported.

Specified by:
supportsSchemasInDataManipulation in interface DatabaseMetaData
Throws:
SQLException

supportsSchemasInProcedureCalls

public boolean supportsSchemasInProcedureCalls()
                                        throws SQLException
Returns false as this feature is currently not supported.

Specified by:
supportsSchemasInProcedureCalls in interface DatabaseMetaData
Throws:
SQLException

supportsSchemasInIndexDefinitions

public boolean supportsSchemasInIndexDefinitions()
                                          throws SQLException
Returns false as this feature is currently not supported.

Specified by:
supportsSchemasInIndexDefinitions in interface DatabaseMetaData
Throws:
SQLException

supportsCatalogsInDataManipulation

public boolean supportsCatalogsInDataManipulation()
                                           throws SQLException
Returns false as this feature is currently not supported.

Specified by:
supportsCatalogsInDataManipulation in interface DatabaseMetaData
Throws:
SQLException

supportsCatalogsInProcedureCalls

public boolean supportsCatalogsInProcedureCalls()
                                         throws SQLException
Returns false as this feature is currently not supported.

Specified by:
supportsCatalogsInProcedureCalls in interface DatabaseMetaData
Throws:
SQLException

supportsCatalogsInTableDefinitions

public boolean supportsCatalogsInTableDefinitions()
                                           throws SQLException
Returns false as this feature is currently not supported.

Specified by:
supportsCatalogsInTableDefinitions in interface DatabaseMetaData
Throws:
SQLException

supportsCatalogsInIndexDefinitions

public boolean supportsCatalogsInIndexDefinitions()
                                           throws SQLException
Returns false as this feature is currently not supported.

Specified by:
supportsCatalogsInIndexDefinitions in interface DatabaseMetaData
Throws:
SQLException

supportsCatalogsInPrivilegeDefinitions

public boolean supportsCatalogsInPrivilegeDefinitions()
                                               throws SQLException
Returns false as this feature is currently not supported.

Specified by:
supportsCatalogsInPrivilegeDefinitions in interface DatabaseMetaData
Throws:
SQLException

supportsGroupBy

public boolean supportsGroupBy()
                        throws SQLException
Is some form of "GROUP BY" clause supported? Returns true

Specified by:
supportsGroupBy in interface DatabaseMetaData
Throws:
SQLException

supportsGroupByUnrelated

public boolean supportsGroupByUnrelated()
                                 throws SQLException
Can a "GROUP BY" clause use columns not in the SELECT? Returns true

Specified by:
supportsGroupByUnrelated in interface DatabaseMetaData
Throws:
SQLException

supportsGroupByBeyondSelect

public boolean supportsGroupByBeyondSelect()
                                    throws SQLException
Can a "GROUP BY" clause add columns not in the SELECT provided it specifies all the columns in the SELECT? Returns true

Specified by:
supportsGroupByBeyondSelect in interface DatabaseMetaData
Throws:
SQLException

supportsOuterJoins

public boolean supportsOuterJoins()
                           throws SQLException
Returns true.

Specified by:
supportsOuterJoins in interface DatabaseMetaData
Throws:
SQLException

supportsFullOuterJoins

public boolean supportsFullOuterJoins()
                               throws SQLException
Returns false.

Specified by:
supportsFullOuterJoins in interface DatabaseMetaData
Throws:
SQLException

supportsLimitedOuterJoins

public boolean supportsLimitedOuterJoins()
                                  throws SQLException
Returns true.

Specified by:
supportsLimitedOuterJoins in interface DatabaseMetaData
Throws:
SQLException

supportsOrderByUnrelated

public boolean supportsOrderByUnrelated()
                                 throws SQLException
Returns true, since Axion allows arbitrary columns in an ORDER BY.

Specified by:
supportsOrderByUnrelated in interface DatabaseMetaData
Throws:
SQLException

supportsTransactions

public boolean supportsTransactions()
                             throws SQLException
Returns true, since Axion supports transactions.

Specified by:
supportsTransactions in interface DatabaseMetaData
Throws:
SQLException

supportsTransactionIsolationLevel

public boolean supportsTransactionIsolationLevel(int level)
                                          throws SQLException
Returns true iff level is Connection.TRANSACTION_SERIALIZABLEsince Axion supports TRANSACTION_SERIALIZABLE transactions only.

Specified by:
supportsTransactionIsolationLevel in interface DatabaseMetaData
Throws:
SQLException

supportsConvert

public boolean supportsConvert()
                        throws SQLException
Returns true; use CAST(col AS type)

Specified by:
supportsConvert in interface DatabaseMetaData
Throws:
SQLException

supportsConvert

public boolean supportsConvert(int fromType,
                               int toType)
                        throws SQLException
Returns false as this feature is currently not supported.

Specified by:
supportsConvert in interface DatabaseMetaData
Throws:
SQLException

supportsUnionAll

public boolean supportsUnionAll()
                         throws SQLException
Returns false as this feature is currently not supported.

Specified by:
supportsUnionAll in interface DatabaseMetaData
Throws:
SQLException

supportsTableCorrelationNames

public boolean supportsTableCorrelationNames()
                                      throws SQLException
Returns true as Axion supports table aliasing.

Specified by:
supportsTableCorrelationNames in interface DatabaseMetaData
Throws:
SQLException

supportsDifferentTableCorrelationNames

public boolean supportsDifferentTableCorrelationNames()
                                               throws SQLException
Returns true as Axion supports table aliasing.

Specified by:
supportsDifferentTableCorrelationNames in interface DatabaseMetaData
Throws:
SQLException

storesUpperCaseQuotedIdentifiers

public boolean storesUpperCaseQuotedIdentifiers()
                                         throws SQLException
Returns true.

Specified by:
storesUpperCaseQuotedIdentifiers in interface DatabaseMetaData
Throws:
SQLException

supportsMinimumSQLGrammar

public boolean supportsMinimumSQLGrammar()
                                  throws SQLException
Returns true as Axion supports the "ODBC Minimum SQL Grammar" . Namely:
 
  
   CREATE TABLE base-table-name (column-identifier data-type [,column-identifier data-type]*)
   DELETE FROM table-name [WHERE search-condition]
   DROP TABLE base-table-name 
   INSERT INTO table-name [( column-identifier [, column-identifier]...)]
          VALUES (insert-value[, insert-value]... )
   SELECT [ALL | DISTINCT] select-list
          FROM table-reference-list
          [WHERE search-condition]
          [order-by-clause]
   UPDATE table-name SET column-identifier = {expression | NULL } 
          [, column-identifier = {expression | NULL}]*
          [WHERE search-condition]
   
  
 

Specified by:
supportsMinimumSQLGrammar in interface DatabaseMetaData
Throws:
SQLException

nullPlusNonNullIsNull

public boolean nullPlusNonNullIsNull()
                              throws SQLException
Returns true.

Specified by:
nullPlusNonNullIsNull in interface DatabaseMetaData
Throws:
SQLException

getColumns

public ResultSet getColumns(String catalog,
                            String schemaPattern,
                            String tableNamePattern,
                            String columnNamePattern)
                     throws SQLException
Supported,

Specified by:
getColumns in interface DatabaseMetaData
Throws:
SQLException

getTables

public ResultSet getTables(String catalog,
                           String schemaPattern,
                           String tableNamePattern,
                           String[] types)
                    throws SQLException
Supported.

Specified by:
getTables in interface DatabaseMetaData
Throws:
SQLException

getSchemas

public ResultSet getSchemas()
                     throws SQLException
Supported.

Specified by:
getSchemas in interface DatabaseMetaData
Throws:
SQLException

getCatalogs

public ResultSet getCatalogs()
                      throws SQLException
Supported.

Specified by:
getCatalogs in interface DatabaseMetaData
Throws:
SQLException

getTableTypes

public ResultSet getTableTypes()
                        throws SQLException
Supported.

Specified by:
getTableTypes in interface DatabaseMetaData
Throws:
SQLException

getTypeInfo

public ResultSet getTypeInfo()
                      throws SQLException
Supported.

Specified by:
getTypeInfo in interface DatabaseMetaData
Throws:
SQLException

supportsMultipleResultSets

public boolean supportsMultipleResultSets()
                                   throws SQLException
Returns false as this feature is currently unsupported.

Specified by:
supportsMultipleResultSets in interface DatabaseMetaData
Throws:
SQLException

supportsMultipleTransactions

public boolean supportsMultipleTransactions()
                                     throws SQLException
Returns true, Axion supports multiple transactions.

Specified by:
supportsMultipleTransactions in interface DatabaseMetaData
Throws:
SQLException

supportsNonNullableColumns

public boolean supportsNonNullableColumns()
                                   throws SQLException
Returns true, Axion supports NOT NULL constraints.

Specified by:
supportsNonNullableColumns in interface DatabaseMetaData
Throws:
SQLException

supportsDataManipulationTransactionsOnly

public boolean supportsDataManipulationTransactionsOnly()
                                                 throws SQLException
Returns true.

Specified by:
supportsDataManipulationTransactionsOnly in interface DatabaseMetaData
Throws:
SQLException

supportsOpenCursorsAcrossCommit

public boolean supportsOpenCursorsAcrossCommit()
                                        throws SQLException
Returns false. Closing a transaction will close any open ResultSets.

Specified by:
supportsOpenCursorsAcrossCommit in interface DatabaseMetaData
Throws:
SQLException

supportsOpenCursorsAcrossRollback

public boolean supportsOpenCursorsAcrossRollback()
                                          throws SQLException
Returns false. Closing a transaction will close any open ResultSets.

Specified by:
supportsOpenCursorsAcrossRollback in interface DatabaseMetaData
Throws:
SQLException

supportsOpenStatementsAcrossCommit

public boolean supportsOpenStatementsAcrossCommit()
                                           throws SQLException
Returns true. Statements remain valid accross a transaction boundary.

Specified by:
supportsOpenStatementsAcrossCommit in interface DatabaseMetaData
Throws:
SQLException

supportsOpenStatementsAcrossRollback

public boolean supportsOpenStatementsAcrossRollback()
                                             throws SQLException
Returns true. Statements remain valid accross a transaction boundary.

Specified by:
supportsOpenStatementsAcrossRollback in interface DatabaseMetaData
Throws:
SQLException

supportsDataDefinitionAndDataManipulationTransactions

public boolean supportsDataDefinitionAndDataManipulationTransactions()
                                                              throws SQLException
Returns false, since Axion currently doesn't treat Data Definition Language (DDL) statements like CREATE or DROP transactionally.

Specified by:
supportsDataDefinitionAndDataManipulationTransactions in interface DatabaseMetaData
Throws:
SQLException

dataDefinitionCausesTransactionCommit

public boolean dataDefinitionCausesTransactionCommit()
                                              throws SQLException
Returns false, since Axion currently doesn't treat Data Definition Language (DDL) statements like CREATE or DROP transactionally.

Specified by:
dataDefinitionCausesTransactionCommit in interface DatabaseMetaData
Throws:
SQLException

dataDefinitionIgnoredInTransactions

public boolean dataDefinitionIgnoredInTransactions()
                                            throws SQLException
Returns false, since Axion currently doesn't treat Data Definition Language (DDL) statements like CREATE or DROP transactionally.

Specified by:
dataDefinitionIgnoredInTransactions in interface DatabaseMetaData
Throws:
SQLException

doesMaxRowSizeIncludeBlobs

public boolean doesMaxRowSizeIncludeBlobs()
                                   throws SQLException
Returns false since LOB sizes are not counted in the maximum row size(which is unbounded anyway).

Specified by:
doesMaxRowSizeIncludeBlobs in interface DatabaseMetaData
Throws:
SQLException

usesLocalFiles

public boolean usesLocalFiles()
                       throws SQLException
Returns false, since the driver does not require local files

Specified by:
usesLocalFiles in interface DatabaseMetaData
Throws:
SQLException

usesLocalFilePerTable

public boolean usesLocalFilePerTable()
                              throws SQLException
Returns false, since the driver does not require local files

Specified by:
usesLocalFilePerTable in interface DatabaseMetaData
Throws:
SQLException

supportsExpressionsInOrderBy

public boolean supportsExpressionsInOrderBy()
                                     throws SQLException
Returns true.

Specified by:
supportsExpressionsInOrderBy in interface DatabaseMetaData
Throws:
SQLException

supportsCorrelatedSubqueries

public boolean supportsCorrelatedSubqueries()
                                     throws SQLException
Returns true.

Specified by:
supportsCorrelatedSubqueries in interface DatabaseMetaData
Throws:
SQLException

supportsPositionedDelete

public boolean supportsPositionedDelete()
                                 throws SQLException
Returns true since this feature is currently supported.

Specified by:
supportsPositionedDelete in interface DatabaseMetaData
Throws:
SQLException

supportsPositionedUpdate

public boolean supportsPositionedUpdate()
                                 throws SQLException
Returns true since this feature is currently supported.

Specified by:
supportsPositionedUpdate in interface DatabaseMetaData
Throws:
SQLException

getMaxCursorNameLength

public int getMaxCursorNameLength()
                           throws SQLException
Returns 0 since named cursors are not supported.

Specified by:
getMaxCursorNameLength in interface DatabaseMetaData
Throws:
SQLException

getIdentifierQuoteString

public String getIdentifierQuoteString()
                                throws SQLException
Returns " as Axion now supports quoted identifiers to allow for escaping of reserved words for use as table or column identifiers.

Specified by:
getIdentifierQuoteString in interface DatabaseMetaData
Throws:
SQLException

supportsResultSetConcurrency

public boolean supportsResultSetConcurrency(int type,
                                            int concurrency)
                                     throws SQLException
Returns true iff type is supported and concurrency is ResultSet.CONCUR_READ_ONLYor ResultSet.CONCUR_UPDATABLE.

Specified by:
supportsResultSetConcurrency in interface DatabaseMetaData
Parameters:
type - ResultSet type to test
concurrency - ResultSet concurrency to test
Returns:
true if combination of type and concurrency is supported; false otherwise
Throws:
SQLException

supportsResultSetType

public boolean supportsResultSetType(int type)
                              throws SQLException
Returns true iff type is ResultSet.TYPE_FORWARD_ONLY or ResultSet.TYPE_SCROLL_SENSITIVE.

Specified by:
supportsResultSetType in interface DatabaseMetaData
Parameters:
type - ResultSet type to test
Returns:
true if type is supported; false otherwise
Throws:
SQLException

supportsANSI92EntryLevelSQL

public boolean supportsANSI92EntryLevelSQL()
                                    throws SQLException
Supported.

Specified by:
supportsANSI92EntryLevelSQL in interface DatabaseMetaData
Throws:
SQLException

supportsLikeEscapeClause

public boolean supportsLikeEscapeClause()
                                 throws SQLException
Supported.

Specified by:
supportsLikeEscapeClause in interface DatabaseMetaData
Throws:
SQLException

supportsCoreSQLGrammar

public boolean supportsCoreSQLGrammar()
                               throws SQLException
Currently not supported.

Specified by:
supportsCoreSQLGrammar in interface DatabaseMetaData
Throws:
SQLException

getPrimaryKeys

public ResultSet getPrimaryKeys(String catalog,
                                String schema,
                                String table)
                         throws SQLException
Currently not supported.

Specified by:
getPrimaryKeys in interface DatabaseMetaData
Throws:
SQLException

getIndexInfo

public ResultSet getIndexInfo(String catalog,
                              String schema,
                              String table,
                              boolean unique,
                              boolean approximate)
                       throws SQLException
Partially supported.

Specified by:
getIndexInfo in interface DatabaseMetaData
Returns:
ResultSet containing index information as outlined in the JDBC API
Throws:
SQLException

getNumericFunctions

public String getNumericFunctions()
                           throws SQLException
Currently not supported.

Specified by:
getNumericFunctions in interface DatabaseMetaData
Throws:
SQLException

getSystemFunctions

public String getSystemFunctions()
                          throws SQLException
Currently not supported.

Specified by:
getSystemFunctions in interface DatabaseMetaData
Throws:
SQLException

getSQLKeywords

public String getSQLKeywords()
                      throws SQLException
Currently not supported.

Specified by:
getSQLKeywords in interface DatabaseMetaData
Throws:
SQLException

getSearchStringEscape

public String getSearchStringEscape()
                             throws SQLException
Currently not supported.

Specified by:
getSearchStringEscape in interface DatabaseMetaData
Throws:
SQLException

getStringFunctions

public String getStringFunctions()
                          throws SQLException
Currently not supported.

Specified by:
getStringFunctions in interface DatabaseMetaData
Throws:
SQLException

getTimeDateFunctions

public String getTimeDateFunctions()
                            throws SQLException
Currently not supported.

Specified by:
getTimeDateFunctions in interface DatabaseMetaData
Throws:
SQLException

getExtraNameCharacters

public String getExtraNameCharacters()
                              throws SQLException
Currently not supported.

Specified by:
getExtraNameCharacters in interface DatabaseMetaData
Throws:
SQLException

supportsSchemasInTableDefinitions

public boolean supportsSchemasInTableDefinitions()
                                          throws SQLException
Currently not supported.

Specified by:
supportsSchemasInTableDefinitions in interface DatabaseMetaData
Throws:
SQLException

supportsExtendedSQLGrammar

public boolean supportsExtendedSQLGrammar()
                                   throws SQLException
Currently not supported.

Specified by:
supportsExtendedSQLGrammar in interface DatabaseMetaData
Throws:
SQLException

supportsSchemasInPrivilegeDefinitions

public boolean supportsSchemasInPrivilegeDefinitions()
                                              throws SQLException
Currently not supported.

Specified by:
supportsSchemasInPrivilegeDefinitions in interface DatabaseMetaData
Throws:
SQLException

supportsANSI92IntermediateSQL

public boolean supportsANSI92IntermediateSQL()
                                      throws SQLException
Currently not supported.

Specified by:
supportsANSI92IntermediateSQL in interface DatabaseMetaData
Throws:
SQLException

supportsANSI92FullSQL

public boolean supportsANSI92FullSQL()
                              throws SQLException
Currently not supported.

Specified by:
supportsANSI92FullSQL in interface DatabaseMetaData
Throws:
SQLException

supportsIntegrityEnhancementFacility

public boolean supportsIntegrityEnhancementFacility()
                                             throws SQLException
Currently not supported.

Specified by:
supportsIntegrityEnhancementFacility in interface DatabaseMetaData
Throws:
SQLException

getSchemaTerm

public String getSchemaTerm()
                     throws SQLException
Currently not supported.

Specified by:
getSchemaTerm in interface DatabaseMetaData
Throws:
SQLException

getProcedureTerm

public String getProcedureTerm()
                        throws SQLException
Currently not supported.

Specified by:
getProcedureTerm in interface DatabaseMetaData
Throws:
SQLException

getCatalogTerm

public String getCatalogTerm()
                      throws SQLException
Currently not supported.

Specified by:
getCatalogTerm in interface DatabaseMetaData
Throws:
SQLException

isCatalogAtStart

public boolean isCatalogAtStart()
                         throws SQLException
Currently not supported.

Specified by:
isCatalogAtStart in interface DatabaseMetaData
Throws:
SQLException

getCatalogSeparator

public String getCatalogSeparator()
                           throws SQLException
Currently not supported.

Specified by:
getCatalogSeparator in interface DatabaseMetaData
Throws:
SQLException

getProcedures

public ResultSet getProcedures(String catalog,
                               String schemaPattern,
                               String procedureNamePattern)
                        throws SQLException
Currently not supported.

Specified by:
getProcedures in interface DatabaseMetaData
Throws:
SQLException

getProcedureColumns

public ResultSet getProcedureColumns(String catalog,
                                     String schemaPattern,
                                     String procedureNamePattern,
                                     String columnNamePattern)
                              throws SQLException
Currently not supported.

Specified by:
getProcedureColumns in interface DatabaseMetaData
Throws:
SQLException

getColumnPrivileges

public ResultSet getColumnPrivileges(String catalog,
                                     String schema,
                                     String table,
                                     String columnNamePattern)
                              throws SQLException
Currently not supported.

Specified by:
getColumnPrivileges in interface DatabaseMetaData
Throws:
SQLException

getTablePrivileges

public ResultSet getTablePrivileges(String catalog,
                                    String schemaPattern,
                                    String tableNamePattern)
                             throws SQLException
Currently not supported.

Specified by:
getTablePrivileges in interface DatabaseMetaData
Throws:
SQLException

getBestRowIdentifier

public ResultSet getBestRowIdentifier(String catalog,
                                      String schema,
                                      String table,
                                      int scope,
                                      boolean nullable)
                               throws SQLException
Currently not supported.

Specified by:
getBestRowIdentifier in interface DatabaseMetaData
Throws:
SQLException

getVersionColumns

public ResultSet getVersionColumns(String catalog,
                                   String schema,
                                   String table)
                            throws SQLException
Currently not supported.

Specified by:
getVersionColumns in interface DatabaseMetaData
Throws:
SQLException

getImportedKeys

public ResultSet getImportedKeys(String catalog,
                                 String schema,
                                 String table)
                          throws SQLException
Currently not supported.

Specified by:
getImportedKeys in interface DatabaseMetaData
Throws:
SQLException

getExportedKeys

public ResultSet getExportedKeys(String catalog,
                                 String schema,
                                 String table)
                          throws SQLException
Currently not supported.

Specified by:
getExportedKeys in interface DatabaseMetaData
Throws:
SQLException

getCrossReference

public ResultSet getCrossReference(String primaryCatalog,
                                   String primarySchema,
                                   String primaryTable,
                                   String foreignCatalog,
                                   String foreignSchema,
                                   String foreignTable)
                            throws SQLException
Currently not supported.

Specified by:
getCrossReference in interface DatabaseMetaData
Throws:
SQLException

ownUpdatesAreVisible

public boolean ownUpdatesAreVisible(int type)
                             throws SQLException
Retrieves whether for the given type of ResultSet object, the result set's own updates are visible.

Specified by:
ownUpdatesAreVisible in interface DatabaseMetaData
Parameters:
type - the ResultSet type; one of ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE, or ResultSet.TYPE_SCROLL_SENSITIVE
Returns:
true for TYPE_SCROLL_SENSITIVE or TYPE_FORWARD_ONLY, false for TYPE_SCROLL_INSENSITIVE
Throws:
SQLException - if a database access error occurs

ownDeletesAreVisible

public boolean ownDeletesAreVisible(int type)
                             throws SQLException
Retrieves whether for the given type of ResultSet object, the result set's own deletes are visible.

Specified by:
ownDeletesAreVisible in interface DatabaseMetaData
Parameters:
type - the ResultSet type; one of ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE, or ResultSet.TYPE_SCROLL_SENSITIVE
Returns:
true for TYPE_SCROLL_SENSITIVE or TYPE_FORWARD_ONLY, false for TYPE_SCROLL_INSENSITIVE
Throws:
SQLException - if a database access error occurs

ownInsertsAreVisible

public boolean ownInsertsAreVisible(int type)
                             throws SQLException
Currently supported.

Specified by:
ownInsertsAreVisible in interface DatabaseMetaData
Throws:
SQLException

othersUpdatesAreVisible

public boolean othersUpdatesAreVisible(int type)
                                throws SQLException
Currently not supported.

Specified by:
othersUpdatesAreVisible in interface DatabaseMetaData
Throws:
SQLException

othersDeletesAreVisible

public boolean othersDeletesAreVisible(int type)
                                throws SQLException
Currently not supported.

Specified by:
othersDeletesAreVisible in interface DatabaseMetaData
Throws:
SQLException

othersInsertsAreVisible

public boolean othersInsertsAreVisible(int type)
                                throws SQLException
Currently not supported.

Specified by:
othersInsertsAreVisible in interface DatabaseMetaData
Throws:
SQLException

updatesAreDetected

public boolean updatesAreDetected(int type)
                           throws SQLException
Retrieves whether or not a visible row update can be detected by calling the method ResultSet.rowUpdated. As ResultSet.rowUpdated is not supported, this method should return false.

Specified by:
updatesAreDetected in interface DatabaseMetaData
Parameters:
type - the ResultSet type; one of ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE, or ResultSet.TYPE_SCROLL_SENSITIVE
Returns:
false as Axion does not (yet) support rowUpdated()
Throws:
SQLException - if a database access error occurs

deletesAreDetected

public boolean deletesAreDetected(int type)
                           throws SQLException
Currently not supported.

Specified by:
deletesAreDetected in interface DatabaseMetaData
Throws:
SQLException

insertsAreDetected

public boolean insertsAreDetected(int type)
                           throws SQLException
Retrieves whether or not a visible row insert can be detected by calling the method ResultSet.rowInserted. As ResultSet.rowInserted is not supported, this method should return false.

Specified by:
insertsAreDetected in interface DatabaseMetaData
Parameters:
type - the ResultSet type; one of ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE, or ResultSet.TYPE_SCROLL_SENSITIVE
Returns:
false as Axion does not (yet) support rowInserted()
Throws:
SQLException - if a database access error occurs

getUDTs

public ResultSet getUDTs(String catalog,
                         String schemaPattern,
                         String typeNamePattern,
                         int[] types)
                  throws SQLException
Currently not supported.

Specified by:
getUDTs in interface DatabaseMetaData
Throws:
SQLException

getDatabaseMajorVersion

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

getDatabaseMinorVersion

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

getSuperTables

public ResultSet getSuperTables(String arg0,
                                String arg1,
                                String arg2)
                         throws SQLException
Always empty, super tables are currently not supported.

Specified by:
getSuperTables in interface DatabaseMetaData
Throws:
SQLException

getSuperTypes

public ResultSet getSuperTypes(String arg0,
                               String arg1,
                               String arg2)
                        throws SQLException
Always empty, super types are currently not supported.

Specified by:
getSuperTypes in interface DatabaseMetaData
Throws:
SQLException

supportsGetGeneratedKeys

public boolean supportsGetGeneratedKeys()
                                 throws SQLException
Currently always false.

Specified by:
supportsGetGeneratedKeys in interface DatabaseMetaData
Throws:
SQLException

supportsMultipleOpenResults

public boolean supportsMultipleOpenResults()
                                    throws SQLException
Currently always false.

Specified by:
supportsMultipleOpenResults in interface DatabaseMetaData
Throws:
SQLException

supportsNamedParameters

public boolean supportsNamedParameters()
                                throws SQLException
Currently always false.

Specified by:
supportsNamedParameters in interface DatabaseMetaData
Throws:
SQLException

supportsSavepoints

public boolean supportsSavepoints()
                           throws SQLException
Currently always false.

Specified by:
supportsSavepoints in interface DatabaseMetaData
Throws:
SQLException

supportsStatementPooling

public boolean supportsStatementPooling()
                                 throws SQLException
Currently always false.

Specified by:
supportsStatementPooling in interface DatabaseMetaData
Throws:
SQLException

getResultSetHoldability

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

supportsResultSetHoldability

public boolean supportsResultSetHoldability(int code)
                                     throws SQLException
Specified by:
supportsResultSetHoldability in interface DatabaseMetaData
Throws:
SQLException

getAttributes

public ResultSet getAttributes(String arg0,
                               String arg1,
                               String arg2,
                               String arg3)
                        throws SQLException
Currently unsupported.

Specified by:
getAttributes in interface DatabaseMetaData
Throws:
SQLException

getJDBCMajorVersion

public int getJDBCMajorVersion()
                        throws SQLException
Supported.

Specified by:
getJDBCMajorVersion in interface DatabaseMetaData
Throws:
SQLException

getJDBCMinorVersion

public int getJDBCMinorVersion()
                        throws SQLException
Supported.

Specified by:
getJDBCMinorVersion in interface DatabaseMetaData
Throws:
SQLException

getSQLStateType

public int getSQLStateType()
                    throws SQLException
Currently unsupported.

Specified by:
getSQLStateType in interface DatabaseMetaData
Throws:
SQLException

locatorsUpdateCopy

public boolean locatorsUpdateCopy()
                           throws SQLException
Currently unsupported.

Specified by:
locatorsUpdateCopy in interface DatabaseMetaData
Throws:
SQLException

autoCommitFailureClosesAllResultSets

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

getClientInfoProperties

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

getFunctionColumns

public ResultSet getFunctionColumns(String arg0,
                                    String arg1,
                                    String arg2,
                                    String arg3)
                             throws SQLException
Specified by:
getFunctionColumns in interface DatabaseMetaData
Throws:
SQLException

getFunctions

public ResultSet getFunctions(String arg0,
                              String arg1,
                              String arg2)
                       throws SQLException
Specified by:
getFunctions in interface DatabaseMetaData
Throws:
SQLException

getRowIdLifetime

public RowIdLifetime getRowIdLifetime()
                               throws SQLException
Specified by:
getRowIdLifetime in interface DatabaseMetaData
Throws:
SQLException

getSchemas

public ResultSet getSchemas(String arg0,
                            String arg1)
                     throws SQLException
Specified by:
getSchemas in interface DatabaseMetaData
Throws:
SQLException

supportsStoredFunctionsUsingCallSyntax

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

isWrapperFor

public boolean isWrapperFor(Class<?> arg0)
                     throws SQLException
Specified by:
isWrapperFor in interface Wrapper
Throws:
SQLException

unwrap

public <T> T unwrap(Class<T> arg0)
         throws SQLException
Specified by:
unwrap in interface Wrapper
Throws:
SQLException