|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 | |
---|---|
private static java.lang.String |
REF_CURSOR_NAME
|
Fields inherited from class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider |
---|
logger |
Constructor Summary | |
---|---|
OracleCallMetaDataProvider(java.sql.DatabaseMetaData databaseMetaData)
|
Method Summary | |
---|---|
SqlParameter |
createDefaultOutParameter(java.lang.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() |
java.lang.String |
metaDataCatalogNameToUse(java.lang.String catalogName)
Provide any modification of the catalog name passed in to match the meta data currently used. |
java.lang.String |
metaDataSchemaNameToUse(java.lang.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 |
Field Detail |
---|
private static final java.lang.String REF_CURSOR_NAME
Constructor Detail |
---|
public OracleCallMetaDataProvider(java.sql.DatabaseMetaData databaseMetaData) throws java.sql.SQLException
java.sql.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 java.lang.String metaDataCatalogNameToUse(java.lang.String catalogName)
CallMetaDataProvider
metaDataCatalogNameToUse
in interface CallMetaDataProvider
metaDataCatalogNameToUse
in class GenericCallMetaDataProvider
public java.lang.String metaDataSchemaNameToUse(java.lang.String schemaName)
CallMetaDataProvider
metaDataSchemaNameToUse
in interface CallMetaDataProvider
metaDataSchemaNameToUse
in class GenericCallMetaDataProvider
public SqlParameter createDefaultOutParameter(java.lang.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 |