Top Fields Constructors Methods
org.eclipse.persistence.internal.databaseaccess

public Class InParameterForCallableStatement

extends BindCallCustomParameter
Class Inheritance
Imports
java.sql.CallableStatement, .PreparedStatement, .SQLException, org.eclipse.persistence.internal.helper.DatabaseField, org.eclipse.persistence.internal.sessions.AbstractSession

Field Summary

Modifier and TypeField and Description
protected DatabaseField
protected Object
Inherited from org.eclipse.persistence.internal.databaseaccess.BindCallCustomParameter:
obj

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Class<?>
public void
set(DatabasePlatform platform, PreparedStatement statement, int parameterIndex, AbstractSession session)

Overrides org.eclipse.persistence.internal.databaseaccess.BindCallCustomParameter.set.

Sets this bound parameter, on the given statement, at the given parameterIndex.
public void
set(DatabasePlatform platform, CallableStatement statement, String parameterName, AbstractSession session)

Overrides org.eclipse.persistence.internal.databaseaccess.BindCallCustomParameter.set.

Sets this bound parameter, on the given statement, for the given parameterName.
Inherited from org.eclipse.persistence.internal.databaseaccess.BindCallCustomParameter:
convertshouldUseUnwrappedConnectiontoString

Field Detail

inFieldback to summary
protected DatabaseField inField
inParameterback to summary
protected Object inParameter

Constructor Detail

InParameterForCallableStatementback to summary
public InParameterForCallableStatement(Object inParameter, DatabaseField inField)

Method Detail

getTypeback to summary
public Class<?> getType()
setback to summary
public void set(DatabasePlatform platform, PreparedStatement statement, int parameterIndex, AbstractSession session) throws SQLException

Overrides org.eclipse.persistence.internal.databaseaccess.BindCallCustomParameter.set.

Doc from org.eclipse.persistence.internal.databaseaccess.BindCallCustomParameter.set.

Sets this bound parameter, on the given statement, at the given parameterIndex.

Note

java.sql.PreparedStatement contains setX(int parameterIndex, X x) methods. This method aligns with that pattern.

Annotations
@Override
setback to summary
public void set(DatabasePlatform platform, CallableStatement statement, String parameterName, AbstractSession session) throws SQLException

Overrides org.eclipse.persistence.internal.databaseaccess.BindCallCustomParameter.set.

Doc from org.eclipse.persistence.internal.databaseaccess.BindCallCustomParameter.set.

Sets this bound parameter, on the given statement, for the given parameterName.

Note

java.sql.CallableStatement contains setX(int parameterName, X x) methods. This method aligns with that pattern.

Annotations
@Override