Module org.eclipse.persistence.core
Class InOutputParameterForCallableStatement
java.lang.Object
org.eclipse.persistence.internal.databaseaccess.BindCallCustomParameter
org.eclipse.persistence.internal.databaseaccess.OutputParameterForCallableStatement
org.eclipse.persistence.internal.databaseaccess.InOutputParameterForCallableStatement
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsFields inherited from class org.eclipse.persistence.internal.databaseaccess.OutputParameterForCallableStatement
dbplatform, isCursor, isTypeNameRequired, jdbcType, typeNameFields inherited from class org.eclipse.persistence.internal.databaseaccess.BindCallCustomParameter
obj -
Constructor Summary
ConstructorsConstructorDescriptionInOutputParameterForCallableStatement(Object inParameter, OutputParameterForCallableStatement outParameter) InOutputParameterForCallableStatement(Object inParameter, DatabaseField outField, AbstractSession session) -
Method Summary
Modifier and TypeMethodDescriptionvoidset(DatabasePlatform platform, CallableStatement statement, String parameterName, AbstractSession session) Sets this bound parameter, on the given statement, for the given parameterName.voidset(DatabasePlatform platform, PreparedStatement statement, int parameterIndex, AbstractSession session) Sets this bound parameter, on the given statement, at the given parameterIndex.toString()Methods inherited from class org.eclipse.persistence.internal.databaseaccess.OutputParameterForCallableStatement
getJdbcType, getOutputField, getTypeName, isCursor, isTypeNameRequired, prepare, setIsCursorMethods inherited from class org.eclipse.persistence.internal.databaseaccess.BindCallCustomParameter
convert, shouldUseUnwrappedConnection
-
Field Details
-
inParameter
-
-
Constructor Details
-
InOutputParameterForCallableStatement
public InOutputParameterForCallableStatement(Object inParameter, OutputParameterForCallableStatement outParameter) -
InOutputParameterForCallableStatement
public InOutputParameterForCallableStatement(Object inParameter, DatabaseField outField, AbstractSession session)
-
-
Method Details
-
set
public void set(DatabasePlatform platform, PreparedStatement statement, int parameterIndex, AbstractSession session) throws SQLException Description copied from class:BindCallCustomParameterSets this bound parameter, on the given statement, at the given parameterIndex. Note:PreparedStatementcontains setX(int parameterIndex, X x) methods. This method aligns with that pattern.- Overrides:
setin classOutputParameterForCallableStatement- Throws:
SQLException
-
set
public void set(DatabasePlatform platform, CallableStatement statement, String parameterName, AbstractSession session) throws SQLException Description copied from class:BindCallCustomParameterSets this bound parameter, on the given statement, for the given parameterName. Note:CallableStatementcontains setX(int parameterName, X x) methods. This method aligns with that pattern.- Overrides:
setin classOutputParameterForCallableStatement- Throws:
SQLException
-
toString
- Overrides:
toStringin classOutputParameterForCallableStatement
-