org.springframework.jdbc.core.metadata
Class OracleTableMetaDataProvider

java.lang.Object
  extended by org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
      extended by org.springframework.jdbc.core.metadata.OracleTableMetaDataProvider
All Implemented Interfaces:
TableMetaDataProvider

public class OracleTableMetaDataProvider
extends GenericTableMetaDataProvider

The Oracle specific implementation of the TableMetaDataProvider. Supports a feature for including synonyms in the metadata lookup.

Since:
3.0
Author:
Thomas Risberg

Field Summary
 
Fields inherited from class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
logger
 
Constructor Summary
OracleTableMetaDataProvider(DatabaseMetaData databaseMetaData)
           
OracleTableMetaDataProvider(DatabaseMetaData databaseMetaData, boolean includeSynonyms)
           
 
Method Summary
 void initializeWithTableColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String tableName)
          Initialize using provided database metadata, table and column information.
 
Methods inherited from class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
catalogNameToUse, getDatabaseVersion, getSimpleQueryForGetGeneratedKey, getTableParameterMetaData, initializeWithMetaData, isGeneratedKeysColumnNameArraySupported, isGetGeneratedKeysSimulated, isGetGeneratedKeysSupported, isStoresLowerCaseIdentifiers, isStoresUpperCaseIdentifiers, isTableColumnMetaDataUsed, metaDataCatalogNameToUse, metaDataSchemaNameToUse, schemaNameToUse, setGeneratedKeysColumnNameArraySupported, setGetGeneratedKeysSupported, setStoresLowerCaseIdentifiers, setStoresUpperCaseIdentifiers, tableNameToUse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OracleTableMetaDataProvider

public OracleTableMetaDataProvider(DatabaseMetaData databaseMetaData)
                            throws SQLException
Throws:
SQLException

OracleTableMetaDataProvider

public OracleTableMetaDataProvider(DatabaseMetaData databaseMetaData,
                                   boolean includeSynonyms)
                            throws SQLException
Throws:
SQLException
Method Detail

initializeWithTableColumnMetaData

public void initializeWithTableColumnMetaData(DatabaseMetaData databaseMetaData,
                                              String catalogName,
                                              String schemaName,
                                              String tableName)
                                       throws SQLException
Description copied from interface: TableMetaDataProvider
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.

Specified by:
initializeWithTableColumnMetaData in interface TableMetaDataProvider
Overrides:
initializeWithTableColumnMetaData in class GenericTableMetaDataProvider
Parameters:
databaseMetaData - used to retreive 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
Throws:
SQLException