public class

OracleCallMetaDataProvider

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

Class Overview

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

Summary

[Expand]
Inherited Fields
From class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
Public Constructors
OracleCallMetaDataProvider(DatabaseMetaData databaseMetaData)
Public Methods
SqlParameter createDefaultOutParameter(String parameterName, CallParameterMetaData meta)
Create a default out parameter based on the provided meta data.
int getRefCursorSqlType()
Get the java.sql.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 retrieved with getObject(int) for the specified column.
boolean isReturnResultSetSupported()
Does this database support returning resultsets that should be retrieved with the JDBC call 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.
[Expand]
Inherited Methods
From class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
From class java.lang.Object
From interface org.springframework.jdbc.core.metadata.CallMetaDataProvider

Public Constructors

public OracleCallMetaDataProvider (DatabaseMetaData databaseMetaData)

Throws
SQLException

Public Methods

public SqlParameter createDefaultOutParameter (String parameterName, CallParameterMetaData meta)

Create a default out parameter based on the provided meta data. This is used when no explicit parameter declaration has been made.

Parameters
parameterName the name of the parameter
meta meta data used for this call
Returns
  • the configured SqlOutParameter

public int getRefCursorSqlType ()

Get the java.sql.Types type for columns that return resultsets as ref cursors if this feature is supported.

public boolean isRefCursorSupported ()

Does this database support returning resultsets as ref cursors to be retrieved with getObject(int) for the specified column.

public boolean isReturnResultSetSupported ()

Does this database support returning resultsets that should be retrieved with the JDBC call getResultSet()

public String metaDataCatalogNameToUse (String catalogName)

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.

public String metaDataSchemaNameToUse (String schemaName)

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.