public class BindCallCustomParameter extends Object implements Serializable
Purpose: To provide a base type for customary parameters' types used for binding by DatabaseCall: descendants of DatabasePlatform may create instances of descendants of this class in customModifyInDatabaseCall method.
Responsibilities:
Constructor and Description |
---|
BindCallCustomParameter(Object obj)
INTERNAL:
Binds the custom parameter (obj) into the passed PreparedStatement
for the passed DatabaseCall.
|
Modifier and Type | Method and Description |
---|---|
Object |
convert(Object parameter,
DatabaseField dbField,
AbstractSession session,
Connection connection)
INTERNAL:
Converts the parameter object from a collection or java object into a JDBC type such as an
Array or Struct object, based on the type information contained in the dbField object.
|
void |
set(DatabasePlatform platform,
PreparedStatement statement,
int index,
AbstractSession session) |
boolean |
shouldUseUnwrappedConnection()
Return if unwrapped connection should be used.
|
String |
toString() |
public BindCallCustomParameter(Object obj)
public boolean shouldUseUnwrappedConnection()
public void set(DatabasePlatform platform, PreparedStatement statement, int index, AbstractSession session) throws SQLException
SQLException
public Object convert(Object parameter, DatabaseField dbField, AbstractSession session, Connection connection) throws SQLException
SQLException
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference