@FunctionalInterface
public interface DatabaseMetaDataCallback
JdbcUtils.extractDatabaseMetaData(javax.sql.DataSource, org.springframework.jdbc.support.DatabaseMetaDataCallback)
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
processMetaData(java.sql.DatabaseMetaData dbmd)
Implementations must implement this method to process the meta data
passed in.
|
java.lang.Object processMetaData(java.sql.DatabaseMetaData dbmd) throws java.sql.SQLException, MetaDataAccessException
dbmd
- the DatabaseMetaData to processjava.sql.SQLException
- 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)