|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider org.springframework.jdbc.core.metadata.OracleCallMetaDataProvider
public class OracleCallMetaDataProvider
Oracle specific implementation for the CallMetaDataProvider
interface.
This class is intended for internal use by the Simple JDBC classes.
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 retrieved with CallableStatement.getObject(int) for the specified column. |
boolean |
isReturnResultSetSupported()
Does this database support returning resultsets that should be retrieved 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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OracleCallMetaDataProvider(DatabaseMetaData databaseMetaData) throws SQLException
SQLException
Method Detail |
---|
public boolean isReturnResultSetSupported()
CallMetaDataProvider
Statement.getResultSet()
isReturnResultSetSupported
in interface CallMetaDataProvider
isReturnResultSetSupported
in class GenericCallMetaDataProvider
public boolean isRefCursorSupported()
CallMetaDataProvider
CallableStatement.getObject(int)
for the specified column.
isRefCursorSupported
in interface CallMetaDataProvider
isRefCursorSupported
in class GenericCallMetaDataProvider
public int getRefCursorSqlType()
CallMetaDataProvider
Types
type for columns that return resultsets as ref cursors if this feature
is supported.
getRefCursorSqlType
in interface CallMetaDataProvider
getRefCursorSqlType
in class GenericCallMetaDataProvider
public String metaDataCatalogNameToUse(String catalogName)
CallMetaDataProvider
metaDataCatalogNameToUse
in interface CallMetaDataProvider
metaDataCatalogNameToUse
in class GenericCallMetaDataProvider
public String metaDataSchemaNameToUse(String schemaName)
CallMetaDataProvider
metaDataSchemaNameToUse
in interface CallMetaDataProvider
metaDataSchemaNameToUse
in class GenericCallMetaDataProvider
public SqlParameter createDefaultOutParameter(String parameterName, CallParameterMetaData meta)
CallMetaDataProvider
createDefaultOutParameter
in interface CallMetaDataProvider
createDefaultOutParameter
in class GenericCallMetaDataProvider
parameterName
- the name of the parametermeta
- meta data used for this call
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |