public abstract class LOBBatchQueryBuilder extends BatchQueryBuilder
Modifier and Type | Field and Description |
---|---|
protected String |
newBlobFunction |
protected String |
newClobFunction |
adapter, trimFunction
Constructor and Description |
---|
LOBBatchQueryBuilder(DbAdapter adapter) |
Modifier and Type | Method and Description |
---|---|
protected void |
appendUpdatedParameter(StringBuffer buf,
DbAttribute dbAttribute,
Object value)
Appends parameter placeholder for the value of the column being updated.
|
void |
bindParameters(PreparedStatement statement,
BatchQuery query)
Binds BatchQuery parameters to the PreparedStatement.
|
String |
createLOBSelectString(BatchQuery updateQuery,
List selectedLOBAttributes,
List qualifierAttributes) |
String |
getNewBlobFunction() |
String |
getNewClobFunction() |
abstract List |
getValuesForLOBUpdateParameters(BatchQuery query) |
protected boolean |
isUpdateableColumn(Object value,
int type) |
void |
setNewBlobFunction(String string) |
void |
setNewClobFunction(String string) |
appendDbAttribute, createSqlString, getAdapter, getParameterValues, getTrimFunction, setAdapter, setTrimFunction
protected String newClobFunction
protected String newBlobFunction
public LOBBatchQueryBuilder(DbAdapter adapter)
public abstract List getValuesForLOBUpdateParameters(BatchQuery query)
public String createLOBSelectString(BatchQuery updateQuery, List selectedLOBAttributes, List qualifierAttributes)
protected void appendUpdatedParameter(StringBuffer buf, DbAttribute dbAttribute, Object value)
public void bindParameters(PreparedStatement statement, BatchQuery query) throws SQLException, Exception
bindParameters
in class BatchQueryBuilder
SQLException
Exception
protected boolean isUpdateableColumn(Object value, int type)
public String getNewBlobFunction()
public String getNewClobFunction()
public void setNewBlobFunction(String string)
public void setNewClobFunction(String string)
Copyright © 2001–2018 Apache Cayenne. All rights reserved.