Class CallMetaDataProviderFactory
java.lang.Object
org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory
Factory used to create a
CallMetaDataProvider implementation
based on the type of database being used.- Since:
- 2.5
- Author:
- Thomas Risberg, Juergen Hoeller
-
Field Summary
FieldsModifier and TypeFieldDescriptionList of supported database products for function calls.List of supported database products for procedure calls. -
Method Summary
Modifier and TypeMethodDescriptionstatic CallMetaDataProvidercreateMetaDataProvider(DataSource dataSource, CallMetaDataContext context) Create aCallMetaDataProviderbased on the database meta-data.
-
Field Details
-
supportedDatabaseProductsForProcedures
List of supported database products for procedure calls. -
supportedDatabaseProductsForFunctions
List of supported database products for function calls.
-
-
Method Details
-
createMetaDataProvider
public static CallMetaDataProvider createMetaDataProvider(DataSource dataSource, CallMetaDataContext context) Create aCallMetaDataProviderbased on the database meta-data.- Parameters:
dataSource- the JDBC DataSource to use for retrieving meta-datacontext- the class that holds configuration and meta-data- Returns:
- instance of the CallMetaDataProvider implementation to be used
-