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
public class InOutputParameterForCallableStatement extends OutputParameterForCallableStatement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Object
inParameter
-
Fields inherited from class org.eclipse.persistence.internal.databaseaccess.OutputParameterForCallableStatement
dbplatform, isCursor, isTypeNameRequired, jdbcType, typeName
-
Fields inherited from class org.eclipse.persistence.internal.databaseaccess.BindCallCustomParameter
obj
-
-
Constructor Summary
Constructors Constructor Description InOutputParameterForCallableStatement(Object inParameter, OutputParameterForCallableStatement outParameter)
InOutputParameterForCallableStatement(Object inParameter, DatabaseField outField, AbstractSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
set(DatabasePlatform platform, CallableStatement statement, String parameterName, AbstractSession session)
Sets this bound parameter, on the given statement, for the given parameterName.void
set(DatabasePlatform platform, PreparedStatement statement, int parameterIndex, AbstractSession session)
Sets this bound parameter, on the given statement, at the given parameterIndex.String
toString()
-
Methods inherited from class org.eclipse.persistence.internal.databaseaccess.OutputParameterForCallableStatement
getJdbcType, getOutputField, getTypeName, isCursor, isTypeNameRequired, prepare, setIsCursor
-
Methods inherited from class org.eclipse.persistence.internal.databaseaccess.BindCallCustomParameter
convert, shouldUseUnwrappedConnection
-
-
-
-
Field Detail
-
inParameter
protected Object inParameter
-
-
Constructor Detail
-
InOutputParameterForCallableStatement
public InOutputParameterForCallableStatement(Object inParameter, OutputParameterForCallableStatement outParameter)
-
InOutputParameterForCallableStatement
public InOutputParameterForCallableStatement(Object inParameter, DatabaseField outField, AbstractSession session)
-
-
Method Detail
-
set
public void set(DatabasePlatform platform, PreparedStatement statement, int parameterIndex, AbstractSession session) throws SQLException
Description copied from class:BindCallCustomParameter
Sets this bound parameter, on the given statement, at the given parameterIndex. Note:PreparedStatement
contains setX(int parameterIndex, X x) methods. This method aligns with that pattern.- Overrides:
set
in classOutputParameterForCallableStatement
- Throws:
SQLException
-
set
public void set(DatabasePlatform platform, CallableStatement statement, String parameterName, AbstractSession session) throws SQLException
Description copied from class:BindCallCustomParameter
Sets this bound parameter, on the given statement, for the given parameterName. Note:CallableStatement
contains setX(int parameterName, X x) methods. This method aligns with that pattern.- Overrides:
set
in classOutputParameterForCallableStatement
- Throws:
SQLException
-
toString
public String toString()
- Overrides:
toString
in classOutputParameterForCallableStatement
-
-