接口 DatabaseMetaDataCallback

    • 方法详细资料

      • processMetaData

        Object processMetaData​(DatabaseMetaData dbmd)
                        throws SQLException,
                               MetaDataAccessException
        Implementations must implement this method to process the meta-data passed in. Exactly what the implementation chooses to do is up to it.
        参数:
        dbmd - the DatabaseMetaData to process
        返回:
        a result object extracted from the meta-data (can be an arbitrary object, as needed by the implementation)
        抛出:
        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)