T
- the result type@FunctionalInterface public interface DatabaseMetaDataCallback<T>
JdbcUtils.extractDatabaseMetaData(javax.sql.DataSource, DatabaseMetaDataCallback)
Modifier and Type | Method and Description |
---|---|
T |
processMetaData(DatabaseMetaData dbmd)
Implementations must implement this method to process the meta-data
passed in.
|
T 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)