org.springframework.jdbc.support
Interface DatabaseMetaDataCallback
- public interface DatabaseMetaDataCallback
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
Method Summary |
java.lang.Object |
processMetaData(java.sql.DatabaseMetaData dbmd)
Implementations must implement this method to process the meta data
passed in. |
processMetaData
public java.lang.Object processMetaData(java.sql.DatabaseMetaData dbmd)
throws java.sql.SQLException
- 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
- Throws:
java.sql.SQLException
- if a SQLException is encountered getting
column values (that is, there's no need to catch SQLException)
Copyright (C) 2003-2004 The Spring Framework Project.