|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axiondb.jdbc.AxionDatabaseMetaData
public class AxionDatabaseMetaData
A DatabaseMetaDataimplementation.
| Field Summary |
|---|
| 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. |
|
|
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 |
|---|
public AxionDatabaseMetaData(AxionConnection conn,
Database db)
| Method Detail |
|---|
public String getDatabaseProductName()
throws SQLException
AxionDB".
getDatabaseProductName in interface DatabaseMetaDataSQLException
public String getDatabaseProductVersion()
throws SQLException
1.0M1".
getDatabaseProductVersion in interface DatabaseMetaDataSQLException
public String getDriverName()
throws SQLException
Axion JDBC Driver".
- Specified by:
getDriverName in interface DatabaseMetaData
- Throws:
SQLException
public String getDriverVersion()
throws SQLException
1.0M1".
getDriverVersion in interface DatabaseMetaDataSQLExceptionpublic int getDriverMajorVersion()
0.
getDriverMajorVersion in interface DatabaseMetaDatapublic int getDriverMinorVersion()
1.
getDriverMinorVersion in interface DatabaseMetaData
public String getUserName()
throws SQLException
null.
getUserName in interface DatabaseMetaDataSQLException
public boolean allProceduresAreCallable()
throws SQLException
false.
allProceduresAreCallable in interface DatabaseMetaDataSQLException
public boolean allTablesAreSelectable()
throws SQLException
true, since all tables are indeed selectable.
allTablesAreSelectable in interface DatabaseMetaDataSQLException
public boolean isReadOnly()
throws SQLException
true when this database is known to be read only, false
otherwise.
isReadOnly in interface DatabaseMetaDataSQLException
public boolean supportsMixedCaseIdentifiers()
throws SQLException
false, since Axion currently ignores case in identifiers.
supportsMixedCaseIdentifiers in interface DatabaseMetaDataSQLException
public boolean supportsColumnAliasing()
throws SQLException
true, since Axion supports column aliasing.
supportsColumnAliasing in interface DatabaseMetaDataSQLException
public boolean supportsBatchUpdates()
throws SQLException
true, since Axion supports addBatch,clearBatch and
executeBatch.
supportsBatchUpdates in interface DatabaseMetaDataSQLException
public Connection getConnection()
throws SQLException
Connection.
getConnection in interface DatabaseMetaDataSQLException
public boolean nullsAreSortedHigh()
throws SQLException
true, since null s are considered greater
than any non- null value.
nullsAreSortedHigh in interface DatabaseMetaDataSQLException
public boolean nullsAreSortedLow()
throws SQLException
false, since null s are considered greater
than any non- null value.
nullsAreSortedLow in interface DatabaseMetaDataSQLExceptionnullsAreSortedHigh()
public boolean nullsAreSortedAtStart()
throws SQLException
false, since null s are considered greater
than any non- null value.
nullsAreSortedAtStart in interface DatabaseMetaDataSQLExceptionnullsAreSortedHigh()
public boolean nullsAreSortedAtEnd()
throws SQLException
false, since null s are considered greater
than any non- null value.
nullsAreSortedAtEnd in interface DatabaseMetaDataSQLExceptionnullsAreSortedHigh()
public boolean storesLowerCaseIdentifiers()
throws SQLException
false, since Axion currently ignores case in identifiers,
and stores them internally as upper case values.
storesLowerCaseIdentifiers in interface DatabaseMetaDataSQLException
public boolean supportsMixedCaseQuotedIdentifiers()
throws SQLException
false, since Axion currently ignores case in identifiers.
supportsMixedCaseQuotedIdentifiers in interface DatabaseMetaDataSQLException
public boolean storesMixedCaseQuotedIdentifiers()
throws SQLException
false, since Axion currently ignores case in identifiers,
and stores them internally as upper case values.
storesMixedCaseQuotedIdentifiers in interface DatabaseMetaDataSQLException
public boolean storesUpperCaseIdentifiers()
throws SQLException
true, since Axion currently ignores case in identifiers,
and stores them internally as upper case values.
storesUpperCaseIdentifiers in interface DatabaseMetaDataSQLException
public boolean storesLowerCaseQuotedIdentifiers()
throws SQLException
false, since Axion currently ignores case in identifiers,
and stores them internally as upper case values. Quoted identifiers are also
currently unsupported.
storesLowerCaseQuotedIdentifiers in interface DatabaseMetaDataSQLException
public boolean storesMixedCaseIdentifiers()
throws SQLException
false, since Axion currently ignores case in identifiers,
and stores them internally as upper case values.
storesMixedCaseIdentifiers in interface DatabaseMetaDataSQLException
public int getMaxRowSize()
throws SQLException
0, since Axion has no hard limit on the size of a row.
getMaxRowSize in interface DatabaseMetaDataSQLException
public int getMaxStatementLength()
throws SQLException
0, since Axion has no hard limit on the size of a
statement.
getMaxStatementLength in interface DatabaseMetaDataSQLException
public int getMaxConnections()
throws SQLException
0, since Axion has no hard limit on the number of
connections.
getMaxConnections in interface DatabaseMetaDataSQLException
public int getMaxColumnNameLength()
throws SQLException
Integer.MAX_VALUE, since Axion has no hard limit on the
length of a column name.
getMaxColumnNameLength in interface DatabaseMetaDataSQLException
public int getMaxColumnsInIndex()
throws SQLException
1, since Axion currently doesn't support multi-column
indices.
getMaxColumnsInIndex in interface DatabaseMetaDataSQLException
public int getMaxTablesInSelect()
throws SQLException
Integer.MAX_VALUE, the maximum number of tables Axion
can manage in a single SELECT statement.
getMaxTablesInSelect in interface DatabaseMetaDataSQLException
public int getMaxColumnsInOrderBy()
throws SQLException
Integer.MAX_VALUE, the maximum number of columns Axion
can manage in a single ORDER BY clause.
getMaxColumnsInOrderBy in interface DatabaseMetaDataSQLException
public int getMaxColumnsInSelect()
throws SQLException
Integer.MAX_VALUE, the maximum number of columns Axion
can manage in a single SELECT clause.
getMaxColumnsInSelect in interface DatabaseMetaDataSQLException
public int getMaxColumnsInTable()
throws SQLException
Integer.MAX_VALUE, the maximum number of columns Axion
can manage in a single table.
getMaxColumnsInTable in interface DatabaseMetaDataSQLException
public int getMaxColumnsInGroupBy()
throws SQLException
getMaxColumnsInGroupBy in interface DatabaseMetaDataSQLException
public boolean supportsUnion()
throws SQLException
false since UNION queries are currently not supported..
supportsUnion in interface DatabaseMetaDataSQLException
public int getMaxSchemaNameLength()
throws SQLException
0.
getMaxSchemaNameLength in interface DatabaseMetaDataSQLException
public int getMaxStatements()
throws SQLException
0.
getMaxStatements in interface DatabaseMetaDataSQLException
public int getMaxTableNameLength()
throws SQLException
Integer.MAX_VALUE.
getMaxTableNameLength in interface DatabaseMetaDataSQLException
public int getMaxUserNameLength()
throws SQLException
0.
getMaxUserNameLength in interface DatabaseMetaDataSQLException
public int getMaxBinaryLiteralLength()
throws SQLException
0.
getMaxBinaryLiteralLength in interface DatabaseMetaDataSQLException
public int getMaxCharLiteralLength()
throws SQLException
0.
getMaxCharLiteralLength in interface DatabaseMetaDataSQLException
public int getMaxIndexLength()
throws SQLException
0.
getMaxIndexLength in interface DatabaseMetaDataSQLException
public int getMaxProcedureNameLength()
throws SQLException
0.
getMaxProcedureNameLength in interface DatabaseMetaDataSQLException
public int getMaxCatalogNameLength()
throws SQLException
0.
getMaxCatalogNameLength in interface DatabaseMetaDataSQLException
public int getDefaultTransactionIsolation()
throws SQLException
Connection.TRANSACTION_SERIALIZABLE.
getDefaultTransactionIsolation in interface DatabaseMetaDataSQLException
public String getURL()
throws SQLException
Connection.
getURL in interface DatabaseMetaDataSQLException
public boolean supportsSelectForUpdate()
throws SQLException
false as this feature is currently not supported.
supportsSelectForUpdate in interface DatabaseMetaDataSQLException
public boolean supportsStoredProcedures()
throws SQLException
false as this feature is currently not supported.
supportsStoredProcedures in interface DatabaseMetaDataSQLException
public boolean supportsSubqueriesInComparisons()
throws SQLException
true since you could use id = {sub-select}.
supportsSubqueriesInComparisons in interface DatabaseMetaDataSQLException
public boolean supportsSubqueriesInExists()
throws SQLException
true
supportsSubqueriesInExists in interface DatabaseMetaDataSQLException
public boolean supportsSubqueriesInIns()
throws SQLException
true
supportsSubqueriesInIns in interface DatabaseMetaDataSQLException
public boolean supportsSubqueriesInQuantifieds()
throws SQLException
true as this feature is currently supported.
supportsSubqueriesInQuantifieds in interface DatabaseMetaDataSQLException
public boolean supportsAlterTableWithDropColumn()
throws SQLException
false as this feature is currently not supported.
supportsAlterTableWithDropColumn in interface DatabaseMetaDataSQLException
public boolean supportsAlterTableWithAddColumn()
throws SQLException
true as this feature is currently supported.
supportsAlterTableWithAddColumn in interface DatabaseMetaDataSQLException
public boolean supportsSchemasInDataManipulation()
throws SQLException
false as this feature is currently not supported.
supportsSchemasInDataManipulation in interface DatabaseMetaDataSQLException
public boolean supportsSchemasInProcedureCalls()
throws SQLException
false as this feature is currently not supported.
supportsSchemasInProcedureCalls in interface DatabaseMetaDataSQLException
public boolean supportsSchemasInIndexDefinitions()
throws SQLException
false as this feature is currently not supported.
supportsSchemasInIndexDefinitions in interface DatabaseMetaDataSQLException
public boolean supportsCatalogsInDataManipulation()
throws SQLException
false as this feature is currently not supported.
supportsCatalogsInDataManipulation in interface DatabaseMetaDataSQLException
public boolean supportsCatalogsInProcedureCalls()
throws SQLException
false as this feature is currently not supported.
supportsCatalogsInProcedureCalls in interface DatabaseMetaDataSQLException
public boolean supportsCatalogsInTableDefinitions()
throws SQLException
false as this feature is currently not supported.
supportsCatalogsInTableDefinitions in interface DatabaseMetaDataSQLException
public boolean supportsCatalogsInIndexDefinitions()
throws SQLException
false as this feature is currently not supported.
supportsCatalogsInIndexDefinitions in interface DatabaseMetaDataSQLException
public boolean supportsCatalogsInPrivilegeDefinitions()
throws SQLException
false as this feature is currently not supported.
supportsCatalogsInPrivilegeDefinitions in interface DatabaseMetaDataSQLException
public boolean supportsGroupBy()
throws SQLException
true
supportsGroupBy in interface DatabaseMetaDataSQLException
public boolean supportsGroupByUnrelated()
throws SQLException
true
supportsGroupByUnrelated in interface DatabaseMetaDataSQLException
public boolean supportsGroupByBeyondSelect()
throws SQLException
true
supportsGroupByBeyondSelect in interface DatabaseMetaDataSQLException
public boolean supportsOuterJoins()
throws SQLException
true.
supportsOuterJoins in interface DatabaseMetaDataSQLException
public boolean supportsFullOuterJoins()
throws SQLException
false.
supportsFullOuterJoins in interface DatabaseMetaDataSQLException
public boolean supportsLimitedOuterJoins()
throws SQLException
true.
supportsLimitedOuterJoins in interface DatabaseMetaDataSQLException
public boolean supportsOrderByUnrelated()
throws SQLException
true, since Axion allows arbitrary columns in an ORDER BY.
supportsOrderByUnrelated in interface DatabaseMetaDataSQLException
public boolean supportsTransactions()
throws SQLException
true, since Axion supports transactions.
supportsTransactions in interface DatabaseMetaDataSQLException
public boolean supportsTransactionIsolationLevel(int level)
throws SQLException
true iff level is
Connection.TRANSACTION_SERIALIZABLEsince Axion supports
TRANSACTION_SERIALIZABLE transactions only.
supportsTransactionIsolationLevel in interface DatabaseMetaDataSQLException
public boolean supportsConvert()
throws SQLException
true; use CAST(col AS type)
supportsConvert in interface DatabaseMetaDataSQLException
public boolean supportsConvert(int fromType,
int toType)
throws SQLException
false as this feature is currently not supported.
supportsConvert in interface DatabaseMetaDataSQLException
public boolean supportsUnionAll()
throws SQLException
false as this feature is currently not supported.
supportsUnionAll in interface DatabaseMetaDataSQLException
public boolean supportsTableCorrelationNames()
throws SQLException
true as Axion supports table aliasing.
supportsTableCorrelationNames in interface DatabaseMetaDataSQLException
public boolean supportsDifferentTableCorrelationNames()
throws SQLException
true as Axion supports table aliasing.
supportsDifferentTableCorrelationNames in interface DatabaseMetaDataSQLException
public boolean storesUpperCaseQuotedIdentifiers()
throws SQLException
true.
storesUpperCaseQuotedIdentifiers in interface DatabaseMetaDataSQLException
public boolean supportsMinimumSQLGrammar()
throws SQLException
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]
supportsMinimumSQLGrammar in interface DatabaseMetaDataSQLException
public boolean nullPlusNonNullIsNull()
throws SQLException
true.
nullPlusNonNullIsNull in interface DatabaseMetaDataSQLException
public ResultSet getColumns(String catalog,
String schemaPattern,
String tableNamePattern,
String columnNamePattern)
throws SQLException
getColumns in interface DatabaseMetaDataSQLException
public ResultSet getTables(String catalog,
String schemaPattern,
String tableNamePattern,
String[] types)
throws SQLException
getTables in interface DatabaseMetaDataSQLException
public ResultSet getSchemas()
throws SQLException
getSchemas in interface DatabaseMetaDataSQLException
public ResultSet getCatalogs()
throws SQLException
getCatalogs in interface DatabaseMetaDataSQLException
public ResultSet getTableTypes()
throws SQLException
getTableTypes in interface DatabaseMetaDataSQLException
public ResultSet getTypeInfo()
throws SQLException
getTypeInfo in interface DatabaseMetaDataSQLException
public boolean supportsMultipleResultSets()
throws SQLException
false as this feature is currently unsupported.
supportsMultipleResultSets in interface DatabaseMetaDataSQLException
public boolean supportsMultipleTransactions()
throws SQLException
true, Axion supports multiple transactions.
supportsMultipleTransactions in interface DatabaseMetaDataSQLException
public boolean supportsNonNullableColumns()
throws SQLException
true, Axion supports NOT NULL constraints.
supportsNonNullableColumns in interface DatabaseMetaDataSQLException
public boolean supportsDataManipulationTransactionsOnly()
throws SQLException
true.
supportsDataManipulationTransactionsOnly in interface DatabaseMetaDataSQLException
public boolean supportsOpenCursorsAcrossCommit()
throws SQLException
false. Closing a transaction will close any open
ResultSets.
supportsOpenCursorsAcrossCommit in interface DatabaseMetaDataSQLException
public boolean supportsOpenCursorsAcrossRollback()
throws SQLException
false. Closing a transaction will close any open
ResultSets.
supportsOpenCursorsAcrossRollback in interface DatabaseMetaDataSQLException
public boolean supportsOpenStatementsAcrossCommit()
throws SQLException
true. Statements remain valid accross a transaction
boundary.
supportsOpenStatementsAcrossCommit in interface DatabaseMetaDataSQLException
public boolean supportsOpenStatementsAcrossRollback()
throws SQLException
true. Statements remain valid accross a transaction
boundary.
supportsOpenStatementsAcrossRollback in interface DatabaseMetaDataSQLException
public boolean supportsDataDefinitionAndDataManipulationTransactions()
throws SQLException
false, since Axion currently doesn't treat Data Definition
Language (DDL) statements like CREATE or DROP transactionally.
supportsDataDefinitionAndDataManipulationTransactions in interface DatabaseMetaDataSQLException
public boolean dataDefinitionCausesTransactionCommit()
throws SQLException
false, since Axion currently doesn't treat Data Definition
Language (DDL) statements like CREATE or DROP transactionally.
dataDefinitionCausesTransactionCommit in interface DatabaseMetaDataSQLException
public boolean dataDefinitionIgnoredInTransactions()
throws SQLException
false, since Axion currently doesn't treat Data Definition
Language (DDL) statements like CREATE or DROP transactionally.
dataDefinitionIgnoredInTransactions in interface DatabaseMetaDataSQLException
public boolean doesMaxRowSizeIncludeBlobs()
throws SQLException
false since LOB sizes are not counted in the
maximum row size(which is unbounded anyway).
doesMaxRowSizeIncludeBlobs in interface DatabaseMetaDataSQLException
public boolean usesLocalFiles()
throws SQLException
false, since the driver does not require local files
usesLocalFiles in interface DatabaseMetaDataSQLException
public boolean usesLocalFilePerTable()
throws SQLException
false, since the driver does not require local files
usesLocalFilePerTable in interface DatabaseMetaDataSQLException
public boolean supportsExpressionsInOrderBy()
throws SQLException
true.
supportsExpressionsInOrderBy in interface DatabaseMetaDataSQLException
public boolean supportsCorrelatedSubqueries()
throws SQLException
true.
supportsCorrelatedSubqueries in interface DatabaseMetaDataSQLException
public boolean supportsPositionedDelete()
throws SQLException
true since this feature is currently supported.
supportsPositionedDelete in interface DatabaseMetaDataSQLException
public boolean supportsPositionedUpdate()
throws SQLException
true since this feature is currently supported.
supportsPositionedUpdate in interface DatabaseMetaDataSQLException
public int getMaxCursorNameLength()
throws SQLException
0 since named cursors are not supported.
getMaxCursorNameLength in interface DatabaseMetaDataSQLException
public String getIdentifierQuoteString()
throws SQLException
" as Axion now supports quoted identifiers to allow for
escaping of reserved words for use as table or column identifiers.
getIdentifierQuoteString in interface DatabaseMetaDataSQLException
public boolean supportsResultSetConcurrency(int type,
int concurrency)
throws SQLException
true iff type is supported and concurrency
is ResultSet.CONCUR_READ_ONLYor ResultSet.CONCUR_UPDATABLE.
supportsResultSetConcurrency in interface DatabaseMetaDatatype - ResultSet type to testconcurrency - ResultSet concurrency to test
SQLException
public boolean supportsResultSetType(int type)
throws SQLException
true iff type is ResultSet.TYPE_FORWARD_ONLY
or ResultSet.TYPE_SCROLL_SENSITIVE.
supportsResultSetType in interface DatabaseMetaDatatype - ResultSet type to test
SQLException
public boolean supportsANSI92EntryLevelSQL()
throws SQLException
supportsANSI92EntryLevelSQL in interface DatabaseMetaDataSQLException
public boolean supportsLikeEscapeClause()
throws SQLException
supportsLikeEscapeClause in interface DatabaseMetaDataSQLException
public boolean supportsCoreSQLGrammar()
throws SQLException
supportsCoreSQLGrammar in interface DatabaseMetaDataSQLException
public ResultSet getPrimaryKeys(String catalog,
String schema,
String table)
throws SQLException
getPrimaryKeys in interface DatabaseMetaDataSQLException
public ResultSet getIndexInfo(String catalog,
String schema,
String table,
boolean unique,
boolean approximate)
throws SQLException
getIndexInfo in interface DatabaseMetaDataSQLException
public String getNumericFunctions()
throws SQLException
getNumericFunctions in interface DatabaseMetaDataSQLException
public String getSystemFunctions()
throws SQLException
getSystemFunctions in interface DatabaseMetaDataSQLException
public String getSQLKeywords()
throws SQLException
getSQLKeywords in interface DatabaseMetaDataSQLException
public String getSearchStringEscape()
throws SQLException
getSearchStringEscape in interface DatabaseMetaDataSQLException
public String getStringFunctions()
throws SQLException
getStringFunctions in interface DatabaseMetaDataSQLException
public String getTimeDateFunctions()
throws SQLException
getTimeDateFunctions in interface DatabaseMetaDataSQLException
public String getExtraNameCharacters()
throws SQLException
getExtraNameCharacters in interface DatabaseMetaDataSQLException
public boolean supportsSchemasInTableDefinitions()
throws SQLException
supportsSchemasInTableDefinitions in interface DatabaseMetaDataSQLException
public boolean supportsExtendedSQLGrammar()
throws SQLException
supportsExtendedSQLGrammar in interface DatabaseMetaDataSQLException
public boolean supportsSchemasInPrivilegeDefinitions()
throws SQLException
supportsSchemasInPrivilegeDefinitions in interface DatabaseMetaDataSQLException
public boolean supportsANSI92IntermediateSQL()
throws SQLException
supportsANSI92IntermediateSQL in interface DatabaseMetaDataSQLException
public boolean supportsANSI92FullSQL()
throws SQLException
supportsANSI92FullSQL in interface DatabaseMetaDataSQLException
public boolean supportsIntegrityEnhancementFacility()
throws SQLException
supportsIntegrityEnhancementFacility in interface DatabaseMetaDataSQLException
public String getSchemaTerm()
throws SQLException
getSchemaTerm in interface DatabaseMetaDataSQLException
public String getProcedureTerm()
throws SQLException
getProcedureTerm in interface DatabaseMetaDataSQLException
public String getCatalogTerm()
throws SQLException
getCatalogTerm in interface DatabaseMetaDataSQLException
public boolean isCatalogAtStart()
throws SQLException
isCatalogAtStart in interface DatabaseMetaDataSQLException
public String getCatalogSeparator()
throws SQLException
getCatalogSeparator in interface DatabaseMetaDataSQLException
public ResultSet getProcedures(String catalog,
String schemaPattern,
String procedureNamePattern)
throws SQLException
getProcedures in interface DatabaseMetaDataSQLException
public ResultSet getProcedureColumns(String catalog,
String schemaPattern,
String procedureNamePattern,
String columnNamePattern)
throws SQLException
getProcedureColumns in interface DatabaseMetaDataSQLException
public ResultSet getColumnPrivileges(String catalog,
String schema,
String table,
String columnNamePattern)
throws SQLException
getColumnPrivileges in interface DatabaseMetaDataSQLException
public ResultSet getTablePrivileges(String catalog,
String schemaPattern,
String tableNamePattern)
throws SQLException
getTablePrivileges in interface DatabaseMetaDataSQLException
public ResultSet getBestRowIdentifier(String catalog,
String schema,
String table,
int scope,
boolean nullable)
throws SQLException
getBestRowIdentifier in interface DatabaseMetaDataSQLException
public ResultSet getVersionColumns(String catalog,
String schema,
String table)
throws SQLException
getVersionColumns in interface DatabaseMetaDataSQLException
public ResultSet getImportedKeys(String catalog,
String schema,
String table)
throws SQLException
getImportedKeys in interface DatabaseMetaDataSQLException
public ResultSet getExportedKeys(String catalog,
String schema,
String table)
throws SQLException
getExportedKeys in interface DatabaseMetaDataSQLException
public ResultSet getCrossReference(String primaryCatalog,
String primarySchema,
String primaryTable,
String foreignCatalog,
String foreignSchema,
String foreignTable)
throws SQLException
getCrossReference in interface DatabaseMetaDataSQLException
public boolean ownUpdatesAreVisible(int type)
throws SQLException
ownUpdatesAreVisible in interface DatabaseMetaDatatype - the ResultSet type; one of ResultSet.TYPE_FORWARD_ONLY,
ResultSet.TYPE_SCROLL_INSENSITIVE, or SQLException - if a database access error occurs
public boolean ownDeletesAreVisible(int type)
throws SQLException
ownDeletesAreVisible in interface DatabaseMetaDatatype - the ResultSet type; one of ResultSet.TYPE_FORWARD_ONLY,
ResultSet.TYPE_SCROLL_INSENSITIVE, or SQLException - if a database access error occurs
public boolean ownInsertsAreVisible(int type)
throws SQLException
ownInsertsAreVisible in interface DatabaseMetaDataSQLException
public boolean othersUpdatesAreVisible(int type)
throws SQLException
othersUpdatesAreVisible in interface DatabaseMetaDataSQLException
public boolean othersDeletesAreVisible(int type)
throws SQLException
othersDeletesAreVisible in interface DatabaseMetaDataSQLException
public boolean othersInsertsAreVisible(int type)
throws SQLException
othersInsertsAreVisible in interface DatabaseMetaDataSQLException
public boolean updatesAreDetected(int type)
throws SQLException
ResultSet.rowUpdated. As ResultSet.rowUpdated is not supported, this method
should return false.
updatesAreDetected in interface DatabaseMetaDatatype - the ResultSet type; one of ResultSet.TYPE_FORWARD_ONLY,
ResultSet.TYPE_SCROLL_INSENSITIVE, or SQLException - if a database access error occurs
public boolean deletesAreDetected(int type)
throws SQLException
deletesAreDetected in interface DatabaseMetaDataSQLException
public boolean insertsAreDetected(int type)
throws SQLException
ResultSet.rowInserted. As ResultSet.rowInserted is not supported, this method
should return false.
insertsAreDetected in interface DatabaseMetaDatatype - the ResultSet type; one of ResultSet.TYPE_FORWARD_ONLY,
ResultSet.TYPE_SCROLL_INSENSITIVE, or SQLException - if a database access error occurs
public ResultSet getUDTs(String catalog,
String schemaPattern,
String typeNamePattern,
int[] types)
throws SQLException
getUDTs in interface DatabaseMetaDataSQLException
public int getDatabaseMajorVersion()
throws SQLException
getDatabaseMajorVersion in interface DatabaseMetaDataSQLException
public int getDatabaseMinorVersion()
throws SQLException
getDatabaseMinorVersion in interface DatabaseMetaDataSQLException
public ResultSet getSuperTables(String arg0,
String arg1,
String arg2)
throws SQLException
getSuperTables in interface DatabaseMetaDataSQLException
public ResultSet getSuperTypes(String arg0,
String arg1,
String arg2)
throws SQLException
getSuperTypes in interface DatabaseMetaDataSQLException
public boolean supportsGetGeneratedKeys()
throws SQLException
supportsGetGeneratedKeys in interface DatabaseMetaDataSQLException
public boolean supportsMultipleOpenResults()
throws SQLException
supportsMultipleOpenResults in interface DatabaseMetaDataSQLException
public boolean supportsNamedParameters()
throws SQLException
supportsNamedParameters in interface DatabaseMetaDataSQLException
public boolean supportsSavepoints()
throws SQLException
supportsSavepoints in interface DatabaseMetaDataSQLException
public boolean supportsStatementPooling()
throws SQLException
supportsStatementPooling in interface DatabaseMetaDataSQLException
public int getResultSetHoldability()
throws SQLException
getResultSetHoldability in interface DatabaseMetaDataSQLException
public boolean supportsResultSetHoldability(int code)
throws SQLException
supportsResultSetHoldability in interface DatabaseMetaDataSQLException
public ResultSet getAttributes(String arg0,
String arg1,
String arg2,
String arg3)
throws SQLException
getAttributes in interface DatabaseMetaDataSQLException
public int getJDBCMajorVersion()
throws SQLException
getJDBCMajorVersion in interface DatabaseMetaDataSQLException
public int getJDBCMinorVersion()
throws SQLException
getJDBCMinorVersion in interface DatabaseMetaDataSQLException
public int getSQLStateType()
throws SQLException
getSQLStateType in interface DatabaseMetaDataSQLException
public boolean locatorsUpdateCopy()
throws SQLException
locatorsUpdateCopy in interface DatabaseMetaDataSQLException
public boolean autoCommitFailureClosesAllResultSets()
throws SQLException
autoCommitFailureClosesAllResultSets in interface DatabaseMetaDataSQLException
public ResultSet getClientInfoProperties()
throws SQLException
getClientInfoProperties in interface DatabaseMetaDataSQLException
public ResultSet getFunctionColumns(String arg0,
String arg1,
String arg2,
String arg3)
throws SQLException
getFunctionColumns in interface DatabaseMetaDataSQLException
public ResultSet getFunctions(String arg0,
String arg1,
String arg2)
throws SQLException
getFunctions in interface DatabaseMetaDataSQLException
public RowIdLifetime getRowIdLifetime()
throws SQLException
getRowIdLifetime in interface DatabaseMetaDataSQLException
public ResultSet getSchemas(String arg0,
String arg1)
throws SQLException
getSchemas in interface DatabaseMetaDataSQLException
public boolean supportsStoredFunctionsUsingCallSyntax()
throws SQLException
supportsStoredFunctionsUsingCallSyntax in interface DatabaseMetaDataSQLException
public boolean isWrapperFor(Class<?> arg0)
throws SQLException
isWrapperFor in interface WrapperSQLException
public <T> T unwrap(Class<T> arg0)
throws SQLException
unwrap in interface WrapperSQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||