Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.jdbc.core.metadata
Class CallMetaDataProviderFactory

    java.lang.Object
      org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory

    public class CallMetaDataProviderFactory

extends java.lang.Object

Factory used to create a `CallMetaDataProvider` implementation based on the type of databse being used.

Since:
  2.5
Author:
  Thomas Risberg

Field Summary
`static java.util.List<java.lang.String>` | `supportedDatabaseProductsForFunctions` List of supported database products for function calls
`static java.util.List<java.lang.String>` | `supportedDatabaseProductsForProcedures` List of supported database products for procedure calls

Constructor Summary
`CallMetaDataProviderFactory()`

Method Summary
`static CallMetaDataProvider` | `createMetaDataProvider(javax.sql.DataSource dataSource, CallMetaDataContext context)` Create a CallMetaDataProvider based on the database metedata

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### supportedDatabaseProductsForProcedures

    public static final java.util.List<java.lang.String> supportedDatabaseProductsForProcedures

  List of supported database products for procedure calls

### supportedDatabaseProductsForFunctions

    public static final java.util.List<java.lang.String> supportedDatabaseProductsForFunctions

  List of supported database products for function calls

Constructor Detail

### CallMetaDataProviderFactory

    public CallMetaDataProviderFactory()

Method Detail

### createMetaDataProvider

    public static CallMetaDataProvider createMetaDataProvider(javax.sql.DataSource dataSource,
                                                              CallMetaDataContext context)

  Create a CallMetaDataProvider based on the database metedata

  Parameters:
    `dataSource` - used to retrieve metedata
    `context` - the class that holds configuration and metedata
  Returns:
    instance of the CallMetaDataProvider implementation to be used

Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD