public void executeBatch(PersistenceManager pm,
UpdateObjectDesc request,
boolean forceFlush)
{
boolean cleanup = true;
UpdateObjectDescImpl objectRequest = null;
if (request instanceof UpdateObjectDescImpl) {
objectRequest = (UpdateObjectDescImpl) request;
} else {
throw new JDOFatalInternalException(I18NHelper.getMessage(messages,
"core.generic.notinstanceof", // NOI18N
request.getClass().getName(),
"UpdateObjectDescImpl")); // NOI18N
}
ClassDesc config = objectRequest.getConfig();
UpdateQueryPlan plan = config.getUpdateQueryPlan(objectRequest, this);
Transaction tran = (Transaction) pm.currentTransaction();
Connection conn = tran.getConnection();
// Flag 'doFlush' indicates that executeUpdateBatch should call