| org.springframework.jdbc.support.DatabaseMetaDataCallback
DatabaseMetaDataCallback | public interface DatabaseMetaDataCallback (Code) | | A callback interface used by the JdbcUtils class. Implementations of this
interface perform the actual work of extracting database meta data, but
don't need to worry about exception handling. SQLExceptions will be caught
and handled correctly by the JdbcUtils class.
author: Thomas Risberg See Also: JdbcUtils.extractDatabaseMetaData |
processMetaData | Object processMetaData(DatabaseMetaData dbmd) throws SQLException, MetaDataAccessException(Code) | | Implementations must implement this method to process the meta data
passed in. Exactly what the implementation chooses to do is up to it.
Parameters: dbmd - the DatabaseMetaData to process a result object extracted from the meta data(can be an arbitrary object, as needed by the implementation) throws: SQLException - if a SQLException is encountered gettingcolumn values (that is, there's no need to catch SQLException) throws: MetaDataAccessException - in case of other failures whileextracting meta data (for example, reflection failure) |
|
|