org.apache.cayenne.access.trans
Class LOBBatchQueryBuilder
java.lang.Object
org.apache.cayenne.access.trans.BatchQueryBuilder
org.apache.cayenne.access.trans.LOBBatchQueryBuilder
- Direct Known Subclasses:
- LOBInsertBatchQueryBuilder, LOBUpdateBatchQueryBuilder
public abstract class LOBBatchQueryBuilder
- extends BatchQueryBuilder
Superclass of query builders for the DML operations involving LOBs.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newClobFunction
protected String newClobFunction
newBlobFunction
protected String newBlobFunction
LOBBatchQueryBuilder
public LOBBatchQueryBuilder(DbAdapter adapter)
getValuesForLOBUpdateParameters
public abstract List getValuesForLOBUpdateParameters(BatchQuery query)
createLOBSelectString
public String createLOBSelectString(BatchQuery updateQuery,
List selectedLOBAttributes,
List qualifierAttributes)
appendUpdatedParameter
protected void appendUpdatedParameter(StringBuffer buf,
DbAttribute dbAttribute,
Object value)
- Appends parameter placeholder for the value of the column being updated. If
requested, performs special handling on LOB columns.
bindParameters
public void bindParameters(PreparedStatement statement,
BatchQuery query)
throws SQLException,
Exception
- Binds BatchQuery parameters to the PreparedStatement.
- Overrides:
bindParameters
in class BatchQueryBuilder
- Throws:
SQLException
Exception
isUpdateableColumn
protected boolean isUpdateableColumn(Object value,
int type)
getNewBlobFunction
public String getNewBlobFunction()
getNewClobFunction
public String getNewClobFunction()
setNewBlobFunction
public void setNewBlobFunction(String string)
setNewClobFunction
public void setNewClobFunction(String string)
Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.