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

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

    java.lang.Object
      org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
          org.springframework.jdbc.core.metadata.OracleCallMetaDataProvider

All Implemented Interfaces:
  CallMetaDataProvider

    public class OracleCallMetaDataProvider

extends GenericCallMetaDataProvider

Oracle specific implementation for the `CallMetaDataProvider` interface. This class is intended for internal use by the Simple JDBC classes.

Since:
  2.5
Author:
  Thomas Risberg

Field Summary

Fields inherited from class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
`logger`

Constructor Summary
`OracleCallMetaDataProvider(DatabaseMetaData databaseMetaData)`

Method Summary
`SqlParameter` | `createDefaultOutParameter(String parameterName, CallParameterMetaData meta)` Create a default out parameter based on the provided meta data.
`int` | `getRefCursorSqlType()` Get the `Types` type for columns that return resultsets as ref cursors if this feature is supported.
`boolean` | `isRefCursorSupported()` Does this database support returning resultsets as ref cursors to be retreived with `CallableStatement.getObject(int)` for the specified column.
`boolean` | `isReturnResultSetSupported()` Does this database support returning resultsets that should be retreived with the JDBC call `Statement.getResultSet()`
`String` | `metaDataCatalogNameToUse(String catalogName)` Provide any modification of the catalog name passed in to match the meta data currently used.
`String` | `metaDataSchemaNameToUse(String schemaName)` Provide any modification of the schema name passed in to match the meta data currently used.

Methods inherited from class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
`byPassReturnParameter, catalogNameToUse, createDefaultInParameter, getCallParameterMetaData, getUserName, initializeWithMetaData, initializeWithProcedureColumnMetaData, isProcedureColumnMetaDataUsed, isStoresLowerCaseIdentifiers, isStoresUpperCaseIdentifiers, isSupportsCatalogsInProcedureCalls, isSupportsSchemasInProcedureCalls, parameterNameToUse, procedureNameToUse, schemaNameToUse, setStoresLowerCaseIdentifiers, setStoresUpperCaseIdentifiers, setSupportsCatalogsInProcedureCalls, setSupportsSchemasInProcedureCalls`

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

Constructor Detail

### OracleCallMetaDataProvider

    public OracleCallMetaDataProvider(DatabaseMetaData databaseMetaData)
                               throws SQLException

Throws:
  `SQLException`

Method Detail

### isReturnResultSetSupported

    public boolean isReturnResultSetSupported()

  Description copied from interface: `CallMetaDataProvider`
  Does this database support returning resultsets that should be retreived with the JDBC call `Statement.getResultSet()`

  Specified by:
    `isReturnResultSetSupported` in interface `CallMetaDataProvider`
  Overrides:
    `isReturnResultSetSupported` in class `GenericCallMetaDataProvider`

### isRefCursorSupported

    public boolean isRefCursorSupported()

  Description copied from interface: `CallMetaDataProvider`
  Does this database support returning resultsets as ref cursors to be retreived with `CallableStatement.getObject(int)` for the specified column.

  Specified by:
    `isRefCursorSupported` in interface `CallMetaDataProvider`
  Overrides:
    `isRefCursorSupported` in class `GenericCallMetaDataProvider`

### getRefCursorSqlType

    public int getRefCursorSqlType()

  Description copied from interface: `CallMetaDataProvider`
  Get the `Types` type for columns that return resultsets as ref cursors if this feature is supported.

  Specified by:
    `getRefCursorSqlType` in interface `CallMetaDataProvider`
  Overrides:
    `getRefCursorSqlType` in class `GenericCallMetaDataProvider`

### metaDataCatalogNameToUse

    public String metaDataCatalogNameToUse(String catalogName)

  Description copied from interface: `CallMetaDataProvider`
  Provide any modification of the catalog name passed in to match the meta data currently used. The reyurned value will be used for meta data lookups. This could include alterig the case used or providing a base catalog if mone provided.

  Specified by:
    `metaDataCatalogNameToUse` in interface `CallMetaDataProvider`
  Overrides:
    `metaDataCatalogNameToUse` in class `GenericCallMetaDataProvider`

### metaDataSchemaNameToUse

    public String metaDataSchemaNameToUse(String schemaName)

  Description copied from interface: `CallMetaDataProvider`
  Provide any modification of the schema name passed in to match the meta data currently used. The reyurned value will be used for meta data lookups. This could include alterig the case used or providing a base schema if mone provided.

  Specified by:
    `metaDataSchemaNameToUse` in interface `CallMetaDataProvider`
  Overrides:
    `metaDataSchemaNameToUse` in class `GenericCallMetaDataProvider`

### createDefaultOutParameter

    public SqlParameter createDefaultOutParameter(String parameterName,
                                                  CallParameterMetaData meta)

  Description copied from interface: `CallMetaDataProvider`
  Create a default out parameter based on the provided meta data. This is used when no expicit parameter declaration has been made.

  Specified by:
    `createDefaultOutParameter` in interface `CallMetaDataProvider`
  Overrides:
    `createDefaultOutParameter` in class `GenericCallMetaDataProvider`
  Parameters:
    `parameterName` - the name of the parameter
    `meta` - meta data used for this call
  Returns:
    the configured SqlParameter

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

Copyright © 2002-2007 The Spring Framework.