public interface DatabaseMetaDataCallback
JdbcUtils.extractDatabaseMetaData(javax.sql.DataSource, org.codehaus.griffon.runtime.hibernate5.internal.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 a 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)