public class PostgresCallMetaDataProvider extends GenericCallMetaDataProvider
CallMetaDataProvider
interface.
This class is intended for internal use by the Simple JDBC classes.logger
Constructor and Description |
---|
PostgresCallMetaDataProvider(DatabaseMetaData databaseMetaData) |
Modifier and Type | Method and Description |
---|---|
boolean |
byPassReturnParameter(String parameterName)
Should we bypass the return parameter with the specified name.
|
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 |
metaDataSchemaNameToUse(String schemaName)
Provide any modification of the schema name passed in to match the meta data currently used.
|
catalogNameToUse, createDefaultInOutParameter, createDefaultInParameter, getCallParameterMetaData, getUserName, initializeWithMetaData, initializeWithProcedureColumnMetaData, isProcedureColumnMetaDataUsed, isStoresLowerCaseIdentifiers, isStoresUpperCaseIdentifiers, isSupportsCatalogsInProcedureCalls, isSupportsSchemasInProcedureCalls, metaDataCatalogNameToUse, parameterNameToUse, procedureNameToUse, schemaNameToUse, setStoresLowerCaseIdentifiers, setStoresUpperCaseIdentifiers, setSupportsCatalogsInProcedureCalls, setSupportsSchemasInProcedureCalls
public PostgresCallMetaDataProvider(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 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 callpublic boolean byPassReturnParameter(String parameterName)
CallMetaDataProvider
byPassReturnParameter
in interface CallMetaDataProvider
byPassReturnParameter
in class GenericCallMetaDataProvider