|
SolarMetric Kodo JDO 3.0.3 generated on February 20 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--kodo.jdbc.sql.DBMetaData
The DBMetaData class is a wrapper around a DatabaseMetaData instance. It provides the following additional features:
| Field Summary | |
boolean |
allProceduresAreCallable
Can all the procedures returned by getProcedures be called by the current user? |
boolean |
allTablesAreSelectable
Can all the tables returned by getTable be SELECTed by the current user? |
String |
catalogSeparator
What's the separator between catalog and table name? |
String |
catalogTerm
What's the database vendor's preferred term for "catalog"? |
String |
databaseProductName
What's the name of this database product? |
String |
databaseProductVersion
What's the version of this database product? |
boolean |
dataDefinitionCausesTransactionCommit
Does a data definition statement within a transaction force the transaction to commit? |
boolean |
dataDefinitionIgnoredInTransactions
Is a data definition statement within a transaction ignored? |
int |
defaultTransactionIsolation
What's the database's default transaction isolation level? The values are defined in java.sql.Connection. |
boolean |
doesMaxRowSizeIncludeBlobs
Did getMaxRowSize() include LONGVARCHAR and LONGVARBINARY blobs? |
double |
driverCompleteVersion
The complete version of the driver: driverMajorVersion.driverMinorVersion |
int |
driverMajorVersion
What's this JDBC driver's major version number? |
int |
driverMinorVersion
What's this JDBC driver's minor version number? |
String |
driverName
What's the name of this JDBC driver? |
String |
driverVersion
What's the version of this JDBC driver? |
String |
extraNameCharacters
Gets all the "extra" characters that can be used in unquoted identifier names (those beyond a-z, A-Z, 0-9 and _). |
String |
identifierQuoteString
What's the string used to quote SQL identifiers? This returns a space " " if identifier quoting isn't supported. |
boolean |
isCatalogAtStart
Does a catalog appear at the start of a qualified table name? (Otherwise it appears at the end) |
boolean |
isReadOnly
Is the database in read-only mode? |
int |
jdbcVersion
The version of the JDBC specification in use: either 1, 2, or 3. |
int |
maxBinaryLiteralLength
How many hex characters can you have in an inline binary literal? |
int |
maxCatalogNameLength
What's the maximum length of a catalog name? |
int |
maxCharLiteralLength
What's the max length for a character literal? |
int |
maxColumnNameLength
What's the limit on column name length? |
int |
maxColumnsInGroupBy
What's the maximum number of columns in a "GROUP BY" clause? |
int |
maxColumnsInIndex
What's the maximum number of columns allowed in an index? |
int |
maxColumnsInOrderBy
What's the maximum number of columns in an "ORDER BY" clause? |
int |
maxColumnsInSelect
What's the maximum number of columns in a "SELECT" list? |
int |
maxColumnsInTable
What's the maximum number of columns in a table? |
int |
maxConnections
How many active connections can we have at a time to this database? |
int |
maxCursorNameLength
What's the maximum cursor name length? |
int |
maxIndexLength
What's the maximum length of an index (in bytes)? |
int |
maxProcedureNameLength
What's the maximum length of a procedure name? |
int |
maxRowSize
What's the maximum length of a single row? |
int |
maxSchemaNameLength
What's the maximum length allowed for a schema name? |
int |
maxStatementLength
What's the maximum length of a SQL statement? |
int |
maxStatements
How many active statements can we have open at one time to this database? |
int |
maxTableNameLength
What's the maximum length of a table name? |
int |
maxTablesInSelect
What's the maximum number of tables in a SELECT statement? |
int |
maxUserNameLength
What's the maximum length of a user name? |
String |
metaDataClassName
The connection class. |
boolean |
nullPlusNonNullIsNull
Are concatenations between NULL and non-NULL values NULL? A JDBC CompliantTM driver always returns true. |
boolean |
nullsAreSortedAtEnd
Are NULL values sorted at the end regardless of sort order? |
boolean |
nullsAreSortedAtStart
Are NULL values sorted at the start regardless of sort order? |
boolean |
nullsAreSortedHigh
Are NULL values sorted high? |
boolean |
nullsAreSortedLow
Are NULL values sorted low? |
String |
numericFunctions
Gets a comma-separated list of math functions. |
String |
procedureTerm
What's the database vendor's preferred term for "procedure"? |
String |
schemaTerm
What's the database vendor's preferred term for "schema"? |
String |
searchStringEscape
Gets the string that can be used to escape wildcard characters. |
String |
sqlKeywords
Gets a comma-separated list of all a database's SQL keywords that are NOT also SQL92 keywords. |
boolean |
storesLowerCaseIdentifiers
Does the database treat mixed case unquoted SQL identifiers as case insensitive and store them in lower case? |
boolean |
storesLowerCaseQuotedIdentifiers
Does the database treat mixed case quoted SQL identifiers as case insensitive and store them in lower case? |
boolean |
storesMixedCaseIdentifiers
Does the database treat mixed case unquoted SQL identifiers as case insensitive and store them in mixed case? |
boolean |
storesMixedCaseQuotedIdentifiers
Does the database treat mixed case quoted SQL identifiers as case insensitive and store them in mixed case? |
boolean |
storesUpperCaseIdentifiers
Does the database treat mixed case unquoted SQL identifiers as case insensitive and store them in upper case? |
boolean |
storesUpperCaseQuotedIdentifiers
Does the database treat mixed case quoted SQL identifiers as case insensitive and store them in upper case? |
String |
stringFunctions
Gets a comma-separated list of string functions. |
boolean |
supportsAlterTableWithAddColumn
Is "ALTER TABLE" with add column supported? |
boolean |
supportsAlterTableWithDropColumn
Is "ALTER TABLE" with drop column supported? |
boolean |
supportsANSI92EntryLevelSQL
Is the ANSI92 entry level SQL grammar supported? All JDBC CompliantTM drivers must return true. |
boolean |
supportsANSI92FullSQL
Is the ANSI92 full SQL grammar supported? |
boolean |
supportsANSI92IntermediateSQL
Is the ANSI92 intermediate SQL grammar supported? |
boolean |
supportsBatchUpdates
JDBC 2.0 Indicates whether the driver supports batch updates. |
boolean |
supportsCatalogsInDataManipulation
Can a catalog name be used in a data manipulation statement? |
boolean |
supportsCatalogsInIndexDefinitions
Can a catalog name be used in an index definition statement? |
boolean |
supportsCatalogsInPrivilegeDefinitions
Can a catalog name be used in a privilege definition statement? |
boolean |
supportsCatalogsInProcedureCalls
Can a catalog name be used in a procedure call statement? |
boolean |
supportsCatalogsInTableDefinitions
Can a catalog name be used in a table definition statement? |
boolean |
supportsColumnAliasing
Is column aliasing supported? |
boolean |
supportsConvert
Is the CONVERT function between SQL types supported? |
boolean |
supportsCoreSQLGrammar
Is the ODBC Core SQL grammar supported? |
boolean |
supportsCorrelatedSubqueries
Are correlated subqueries supported? A JDBC CompliantTM driver always returns true. |
boolean |
supportsDataDefinitionAndDataManipulationTransactions
Are both data definition and data manipulation statements within a transaction supported? |
boolean |
supportsDataManipulationTransactionsOnly
Are only data manipulation statements within a transaction supported? |
boolean |
supportsDifferentTableCorrelationNames
If table correlation names are supported, are they restricted to be different from the names of the tables? |
boolean |
supportsExpressionsInOrderBy
Are expressions in "ORDER BY" lists supported? |
boolean |
supportsExtendedSQLGrammar
Is the ODBC Extended SQL grammar supported? |
boolean |
supportsFullOuterJoins
Are full nested outer joins supported? |
boolean |
supportsGroupBy
Is some form of "GROUP BY" clause supported? |
boolean |
supportsGroupByBeyondSelect
Can a "GROUP BY" clause add columns not in the SELECT provided it specifies all the columns in the SELECT? |
boolean |
supportsGroupByUnrelated
Can a "GROUP BY" clause use columns not in the SELECT? |
boolean |
supportsIntegrityEnhancementFacility
Is the SQL Integrity Enhancement Facility supported? |
boolean |
supportsLikeEscapeClause
Is the escape character in "LIKE" clauses supported ? A JDBC CompliantTM driver always returns true. |
boolean |
supportsLimitedOuterJoins
Is there limited support for outer joins? (This will be true if supportFullOuterJoins is true.) |
boolean |
supportsMinimumSQLGrammar
Is the ODBC Minimum SQL grammar supported? All JDBC CompliantTM drivers must return true. |
boolean |
supportsMixedCaseIdentifiers
Does the database treat mixed case unquoted SQL identifiers as case sensitive and as a result store them in mixed case? A JDBC CompliantTM driver will always return false. |
boolean |
supportsMixedCaseQuotedIdentifiers
Does the database treat mixed case quoted SQL identifiers as case sensitive and as a result store them in mixed case? A JDBC CompliantTM driver will always return true. |
boolean |
supportsMultipleResultSets
Are multiple ResultSets from a single execute supported? |
boolean |
supportsMultipleTransactions
Can we have multiple transactions open at once (on different connections)? |
boolean |
supportsNonNullableColumns
Can columns be defined as non-nullable? A JDBC CompliantTM driver always returns true. |
boolean |
supportsOpenCursorsAcrossCommit
Can cursors remain open across commits? |
boolean |
supportsOpenCursorsAcrossRollback
Can cursors remain open across rollbacks? |
boolean |
supportsOpenStatementsAcrossCommit
Can statements remain open across commits? |
boolean |
supportsOpenStatementsAcrossRollback
Can statements remain open across rollbacks? |
boolean |
supportsOrderByUnrelated
Can an "ORDER BY" clause use columns not in the SELECT statement? |
boolean |
supportsOuterJoins
Is some form of outer join supported? |
boolean |
supportsPositionedDelete
Is positioned DELETE supported? |
boolean |
supportsPositionedUpdate
Is positioned UPDATE supported? |
boolean |
supportsSchemasInDataManipulation
Can a schema name be used in a data manipulation statement? |
boolean |
supportsSchemasInIndexDefinitions
Can a schema name be used in an index definition statement? |
boolean |
supportsSchemasInPrivilegeDefinitions
Can a schema name be used in a privilege definition statement? |
boolean |
supportsSchemasInProcedureCalls
Can a schema name be used in a procedure call statement? |
boolean |
supportsSchemasInTableDefinitions
Can a schema name be used in a table definition statement? |
boolean |
supportsScrollableResultSets
Are scroll-insensitive result sets supported? |
boolean |
supportsSelectForUpdate
Is SELECT for UPDATE supported? |
boolean |
supportsStoredProcedures
Are stored procedure calls using the stored procedure escape syntax supported? |
boolean |
supportsSubqueriesInComparisons
Are subqueries in comparison expressions supported ? A JDBC CompliantTM driver always returns true. |
boolean |
supportsSubqueriesInExists
Are subqueries in 'exists' expressions supported? A JDBC CompliantTM driver always returns true. |
boolean |
supportsSubqueriesInIns
Are subqueries in 'in' statements supported? A JDBC CompliantTM driver always returns true. |
boolean |
supportsSubqueriesInQuantifieds
Are subqueries in quantified expressions supported ? A JDBC CompliantTM driver always returns true. |
boolean |
supportsTableCorrelationNames
Are table correlation names supported? A JDBC CompliantTM driver always returns true. |
boolean |
supportsTransactions
Are transactions supported? If not, invoking the method commit is a noop and the isolation level is TRANSACTION_NONE. |
boolean |
supportsUnion
Is SQL UNION supported? |
boolean |
supportsUnionAll
Is SQL UNION ALL supported? |
String |
systemFunctions
Gets a comma-separated list of system functions. |
String |
timeDateFunctions
Gets a comma-separated list of time and date functions. |
String |
url
What's the url for this database? |
String |
userName
What's our user name as known to the database? |
boolean |
usesLocalFilePerTable
Does the database use a file for each table? |
boolean |
usesLocalFiles
Does the database store tables in a local file? |
| Constructor Summary | |
DBMetaData(DatabaseMetaData dmd)
|
|
| Method Summary | |
String |
getPreferredTypeName(int sqlType)
Return the name of this DB's SQL type for the given type constant from Types, or the closest type that this DB supports. |
int |
getSQLType(String dbType)
|
boolean |
isReserved(String name)
Return true if the given string is a keyword in this database. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public final String metaDataClassName
public final int jdbcVersion
public final boolean allProceduresAreCallable
public final boolean allTablesAreSelectable
public final boolean dataDefinitionCausesTransactionCommit
public final boolean dataDefinitionIgnoredInTransactions
public final boolean doesMaxRowSizeIncludeBlobs
public final String catalogSeparator
public final String catalogTerm
public final String databaseProductName
public final String databaseProductVersion
public final int defaultTransactionIsolation
public final int driverMajorVersion
public final int driverMinorVersion
public final double driverCompleteVersion
public final String driverName
public final String driverVersion
public final String extraNameCharacters
public final String identifierQuoteString
public final int maxBinaryLiteralLength
public final int maxCatalogNameLength
public final int maxCharLiteralLength
public final int maxColumnNameLength
public final int maxColumnsInGroupBy
public final int maxColumnsInIndex
public final int maxColumnsInOrderBy
public final int maxColumnsInSelect
public final int maxColumnsInTable
public final int maxConnections
public final int maxCursorNameLength
public final int maxIndexLength
public final int maxProcedureNameLength
public final int maxRowSize
public final int maxSchemaNameLength
public final int maxStatementLength
public final int maxStatements
public final int maxTableNameLength
public final int maxTablesInSelect
public final int maxUserNameLength
public final String numericFunctions
public final String procedureTerm
public final String schemaTerm
public final String searchStringEscape
public final String sqlKeywords
public final String stringFunctions
public final String systemFunctions
public final String timeDateFunctions
public final String url
public final String userName
public final boolean isCatalogAtStart
public final boolean isReadOnly
public final boolean nullPlusNonNullIsNull
public final boolean nullsAreSortedAtEnd
public final boolean nullsAreSortedAtStart
public final boolean nullsAreSortedHigh
public final boolean nullsAreSortedLow
public final boolean storesLowerCaseIdentifiers
public final boolean storesLowerCaseQuotedIdentifiers
public final boolean storesMixedCaseIdentifiers
public final boolean storesMixedCaseQuotedIdentifiers
public final boolean storesUpperCaseIdentifiers
public final boolean storesUpperCaseQuotedIdentifiers
public final boolean supportsAlterTableWithAddColumn
public final boolean supportsAlterTableWithDropColumn
public final boolean supportsANSI92EntryLevelSQL
public final boolean supportsANSI92FullSQL
public final boolean supportsANSI92IntermediateSQL
public final boolean supportsCatalogsInDataManipulation
public final boolean supportsCatalogsInIndexDefinitions
public final boolean supportsCatalogsInPrivilegeDefinitions
public final boolean supportsCatalogsInProcedureCalls
public final boolean supportsCatalogsInTableDefinitions
public final boolean supportsColumnAliasing
public final boolean supportsConvert
public final boolean supportsCoreSQLGrammar
public final boolean supportsCorrelatedSubqueries
public final boolean supportsDataDefinitionAndDataManipulationTransactions
public final boolean supportsDataManipulationTransactionsOnly
public final boolean supportsDifferentTableCorrelationNames
public final boolean supportsExpressionsInOrderBy
public final boolean supportsExtendedSQLGrammar
public final boolean supportsFullOuterJoins
public final boolean supportsGroupBy
public final boolean supportsGroupByBeyondSelect
public final boolean supportsGroupByUnrelated
public final boolean supportsIntegrityEnhancementFacility
public final boolean supportsLikeEscapeClause
public final boolean supportsLimitedOuterJoins
public final boolean supportsMinimumSQLGrammar
public final boolean supportsMixedCaseIdentifiers
public final boolean supportsMixedCaseQuotedIdentifiers
public final boolean supportsMultipleResultSets
public final boolean supportsMultipleTransactions
public final boolean supportsNonNullableColumns
public final boolean supportsOpenCursorsAcrossCommit
public final boolean supportsOpenCursorsAcrossRollback
public final boolean supportsOpenStatementsAcrossCommit
public final boolean supportsOpenStatementsAcrossRollback
public final boolean supportsOrderByUnrelated
public final boolean supportsOuterJoins
public final boolean supportsPositionedDelete
public final boolean supportsPositionedUpdate
public final boolean supportsSchemasInDataManipulation
public final boolean supportsSchemasInIndexDefinitions
public final boolean supportsSchemasInPrivilegeDefinitions
public final boolean supportsSchemasInProcedureCalls
public final boolean supportsSchemasInTableDefinitions
public final boolean supportsScrollableResultSets
public final boolean supportsSelectForUpdate
public final boolean supportsStoredProcedures
public final boolean supportsSubqueriesInComparisons
public final boolean supportsSubqueriesInExists
public final boolean supportsSubqueriesInIns
public final boolean supportsSubqueriesInQuantifieds
public final boolean supportsTableCorrelationNames
public final boolean supportsTransactions
public final boolean supportsUnion
public final boolean supportsUnionAll
public final boolean usesLocalFilePerTable
public final boolean usesLocalFiles
public final boolean supportsBatchUpdates
| Constructor Detail |
public DBMetaData(DatabaseMetaData dmd)
| Method Detail |
public String toString()
toString in class Objectpublic int getSQLType(String dbType)
public String getPreferredTypeName(int sqlType)
Types, or the closest type that this DB supports.public boolean isReserved(String name)
|
SolarMetric Kodo JDO 3.0.3 generated on February 20 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||