java.lang.Object | |
↳ | org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider |
Known Direct Subclasses |
A generic implementation of the TableMetaDataProvider
that should provide
enough features for all supported databases.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
logger | Logger available to subclasses |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor used to initialize with provided database meta data.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the catalog name formatted based on metadata information.
| |||||||||||
Get the simple query to retrieve a generated key
| |||||||||||
Get the table parameter metadata that is currently used.
| |||||||||||
Initialize using the database metedata provided
| |||||||||||
Initialize using provided database metadata, table and column information.
| |||||||||||
Does this database support a column name String array for retreiving generated keys
createStruct(String, Object[])
| |||||||||||
Does this database support a simple quey to retrieve the generated key whe the JDBC 3.0 feature
of retreiving generated keys is not supported
supportsGetGeneratedKeys()
| |||||||||||
Does this database support the JDBC 3.0 feature of retreiving generated keys
supportsGetGeneratedKeys()
| |||||||||||
Get whether identifiers use lower case
| |||||||||||
Get whether identifiers use upper case
| |||||||||||
Are we using the meta data for the table columns?
| |||||||||||
Provide any modification of the catalog name passed in to match the meta data currently used.
| |||||||||||
Provide any modification of the schema name passed in to match the meta data currently used.
| |||||||||||
Get the schema name formatted based on metadata information.
| |||||||||||
Specify whether a column name array is supported for generated keys
| |||||||||||
Specify whether a column name array is supported for generated keys
| |||||||||||
Set the
NativeJdbcExtractor to use to retrieve the native connection if necessary
| |||||||||||
Specify whether identifiers use lower case.
| |||||||||||
Specify whether identifiers use upper case
| |||||||||||
Get the table name formatted based on metadata information.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Provide access to version info for subclasses.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.jdbc.core.metadata.TableMetaDataProvider
|
Logger available to subclasses
Constructor used to initialize with provided database meta data.
databaseMetaData | meta data to be used |
---|
SQLException |
---|
Get the catalog name formatted based on metadata information. This could include altering the case.
Get the simple query to retrieve a generated key
Get the table parameter metadata that is currently used.
TableParameterMetaData
Initialize using the database metedata provided
SQLException |
---|
Initialize using provided database metadata, table and column information. This initalization can be turned off by specifying that column meta data should not be used.
databaseMetaData | used to retrieve database specific information |
---|---|
catalogName | name of catalog to use or null |
schemaName | name of schema name to use or null |
tableName | name of the table |
SQLException |
---|
Does this database support a column name String array for retreiving generated keys
createStruct(String, Object[])
Does this database support a simple quey to retrieve the generated key whe the JDBC 3.0 feature
of retreiving generated keys is not supported
supportsGetGeneratedKeys()
Does this database support the JDBC 3.0 feature of retreiving generated keys
supportsGetGeneratedKeys()
Get whether identifiers use lower case
Get whether identifiers use upper case
Are we using the meta data for the table columns?
Provide any modification of the catalog name passed in to match the meta data currently used. The reyurned value will be used for meta data lookups. This could include alterig the case used or providing a base catalog if mone provided.
Provide any modification of the schema name passed in to match the meta data currently used. The reyurned value will be used for meta data lookups. This could include alterig the case used or providing a base schema if mone provided.
Get the schema name formatted based on metadata information. This could include altering the case.
Specify whether a column name array is supported for generated keys
Specify whether a column name array is supported for generated keys
Set the NativeJdbcExtractor
to use to retrieve the native connection if necessary
Specify whether identifiers use lower case.
Specify whether identifiers use upper case
Get the table name formatted based on metadata information. This could include altering the case.