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

public Class OutputParameterForCallableStatement

extends BindCallCustomParameter
Class Inheritance
Known Direct Subclasses
org.eclipse.persistence.internal.databaseaccess.InOutputParameterForCallableStatement
Imports
java.sql.*, org.eclipse.persistence.internal.helper.*, org.eclipse.persistence.internal.sessions.AbstractSession, org.eclipse.persistence.mappings.structures.ObjectRelationalDatabaseField

Field Summary

Modifier and TypeField and Description
protected transient DatabasePlatform
protected boolean
protected boolean
protected int
protected String
Inherited from org.eclipse.persistence.internal.databaseaccess.BindCallCustomParameter:
obj

Constructor Summary

AccessConstructor and Description
public
public
public
public
protected

Method Summary

Modifier and TypeMethod and Description
public int
public DatabaseField
public String
public boolean
public boolean
public void
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.
public void
setIsCursor(boolean isCursor)

public String
toString()

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

Returns a string representation of the object.
Inherited from org.eclipse.persistence.internal.databaseaccess.BindCallCustomParameter:
convertshouldUseUnwrappedConnection

Field Detail

dbplatformback to summary
protected transient DatabasePlatform dbplatform
isCursorback to summary
protected boolean isCursor
isTypeNameRequiredback to summary
protected boolean isTypeNameRequired
jdbcTypeback to summary
protected int jdbcType
typeNameback to summary
protected String typeName

Constructor Detail

OutputParameterForCallableStatementback to summary
public OutputParameterForCallableStatement(DatabaseField field)
OutputParameterForCallableStatementback to summary
public OutputParameterForCallableStatement(DatabaseField field, AbstractSession session)
OutputParameterForCallableStatementback to summary
public OutputParameterForCallableStatement(DatabaseField field, AbstractSession session, boolean isCursor)
OutputParameterForCallableStatementback to summary
public OutputParameterForCallableStatement(OutputParameterForCallableStatement outParameter)
OutputParameterForCallableStatementback to summary
protected OutputParameterForCallableStatement()

Method Detail

getJdbcTypeback to summary
public int getJdbcType()
getOutputFieldback to summary
public DatabaseField getOutputField()
getTypeNameback to summary
public String getTypeName()
isCursorback to summary
public boolean isCursor()
isTypeNameRequiredback to summary
public boolean isTypeNameRequired()
prepareback to summary
public void prepare(AbstractSession session)
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
setIsCursorback to summary
public void setIsCursor(boolean isCursor)
toStringback to summary
public String toString()

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

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override