logger.log(BasicLevel.DEBUG, "read ctx=" + context
+ " / oid=" + oid
+ " / obj.class=" + obj.getClass().getName());
StateItf state = (StateItf) obj;
PersistentObjectItf pb = (PersistentObjectItf) state.getSpeedoPO();
int speedoStatus = state.speedoGetStatus();
if (pb.getStatus() == PBinding.LIFECYCLE_DELTOWRITE
&& speedoStatus != LifeCycle.PERSISTENT_DELETED
&& speedoStatus != LifeCycle.PERSISTENT_NEW_DELETED) {
throw new PersistenceException(
"Concurrency problem, transaction must be rolledback");