类 CallMetaDataProviderFactory
- java.lang.Object
- org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory
public final class CallMetaDataProviderFactory extends Object
Factory used to create aCallMetaDataProvider
implementation based on the type of database being used.- 从以下版本开始:
- 2.5
- 作者:
- Thomas Risberg, Juergen Hoeller
字段概要
字段 修饰符和类型 字段 说明 static List<String>
supportedDatabaseProductsForFunctions
List of supported database products for function calls.static List<String>
supportedDatabaseProductsForProcedures
List of supported database products for procedure calls.
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static CallMetaDataProvider
createMetaDataProvider(DataSource dataSource, CallMetaDataContext context)
Create aCallMetaDataProvider
based on the database meta-data.
字段详细资料
supportedDatabaseProductsForProcedures
public static final List<String> supportedDatabaseProductsForProcedures
List of supported database products for procedure calls.
supportedDatabaseProductsForFunctions
public static final List<String> supportedDatabaseProductsForFunctions
List of supported database products for function calls.
方法详细资料
createMetaDataProvider
public static CallMetaDataProvider createMetaDataProvider(DataSource dataSource, CallMetaDataContext context)
Create aCallMetaDataProvider
based on the database meta-data.- 参数:
dataSource
- the JDBC DataSource to use for retrieving meta-datacontext
- the class that holds configuration and meta-data- 返回:
- instance of the CallMetaDataProvider implementation to be used