@FunctionalInterface public interface DatabaseMetaDataCallback
JdbcUtils.extractDatabaseMetaData(javax.sql.DataSource, org.springframework.jdbc.support.DatabaseMetaDataCallback)
Modifier and Type | Method and Description |
---|---|
Object |
processMetaData(DatabaseMetaData dbmd)
Implementations must implement this method to process the meta-data
passed in.
|
Object processMetaData(DatabaseMetaData dbmd) throws SQLException, MetaDataAccessException
dbmd
- the DatabaseMetaData to processSQLException
- if an SQLException is encountered getting
column values (that is, there's no need to catch SQLException)MetaDataAccessException
- in case of other failures while
extracting meta-data (for example, reflection failure)