|
|||||||||
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.PostgresCallMetaDataProvider
public class PostgresCallMetaDataProvider
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 | |
---|---|
PostgresCallMetaDataProvider(DatabaseMetaData databaseMetaData)
|
Method Summary | |
---|---|
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 Statement.getResultSet() |
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 PostgresCallMetaDataProvider(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 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
public boolean byPassReturnParameter(String parameterName)
CallMetaDataProvider
byPassReturnParameter
in interface CallMetaDataProvider
byPassReturnParameter
in class GenericCallMetaDataProvider
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |