public class OracleCallMetaDataProvider extends GenericCallMetaDataProvider
CallMetaDataProvider
interface.
This class is intended for internal use by the Simple JDBC classes.logger
Constructor and Description |
---|
OracleCallMetaDataProvider(DatabaseMetaData databaseMetaData) |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
byPassReturnParameter, catalogNameToUse, createDefaultInOutParameter, createDefaultInParameter, getCallParameterMetaData, getUserName, initializeWithMetaData, initializeWithProcedureColumnMetaData, isProcedureColumnMetaDataUsed, isStoresLowerCaseIdentifiers, isStoresUpperCaseIdentifiers, isSupportsCatalogsInProcedureCalls, isSupportsSchemasInProcedureCalls, parameterNameToUse, procedureNameToUse, schemaNameToUse, setStoresLowerCaseIdentifiers, setStoresUpperCaseIdentifiers, setSupportsCatalogsInProcedureCalls, setSupportsSchemasInProcedureCalls
public OracleCallMetaDataProvider(DatabaseMetaData databaseMetaData) throws SQLException
SQLException
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