failed.add(f);
}
}
if (opt && !failed.isEmpty()) {
if(_suppressBatchOLELogging == true){
return new OptimisticException(_loc.get("broker-suppressing-exceptions",t.length));
}else{
return new OptimisticException(failed, t);
}
}
if (opt)
return new OptimisticException(t);
Object failedObject = null;
if (t[0] instanceof OpenJPAException){
failedObject = ((OpenJPAException)t[0]).getFailedObject();
}