Module org.eclipse.persistence.core
Class InParameterForCallableStatement
- java.lang.Object
-
- org.eclipse.persistence.internal.databaseaccess.BindCallCustomParameter
-
- org.eclipse.persistence.internal.databaseaccess.InParameterForCallableStatement
-
- All Implemented Interfaces:
Serializable
public class InParameterForCallableStatement extends BindCallCustomParameter
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected DatabaseFieldinFieldprotected ObjectinParameter-
Fields inherited from class org.eclipse.persistence.internal.databaseaccess.BindCallCustomParameter
obj
-
-
Constructor Summary
Constructors Constructor Description InParameterForCallableStatement(Object inParameter, DatabaseField inField)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>getType()voidset(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.-
Methods inherited from class org.eclipse.persistence.internal.databaseaccess.BindCallCustomParameter
convert, shouldUseUnwrappedConnection, toString
-
-
-
-
Field Detail
-
inParameter
protected Object inParameter
-
inField
protected DatabaseField inField
-
-
Constructor Detail
-
InParameterForCallableStatement
public InParameterForCallableStatement(Object inParameter, DatabaseField inField)
-
-
Method Detail
-
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 classBindCallCustomParameter- 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 classBindCallCustomParameter- Throws:
SQLException
-
getType
public Class<?> getType()
-
-