invoke postCommit in commitSafely
This commit is contained in:
parent
deeb1d4685
commit
746e5d7a43
|
@ -221,7 +221,8 @@ public abstract class AbstractRecordManager<T extends Record> {
|
|||
|
||||
log.debug("Committing session for "+theRecord);
|
||||
transaction.commit();
|
||||
|
||||
log.debug("Calling postCommit");
|
||||
postcommit();
|
||||
} catch (PersistenceException e) {
|
||||
toReturn.addChild(e.getReport());
|
||||
log.warn("Unexpected internal exception ",e);
|
||||
|
@ -231,7 +232,8 @@ public abstract class AbstractRecordManager<T extends Record> {
|
|||
toReturn.addMessage(ValidationStatus.WARNING, "Centroide non registrato");
|
||||
log.warn("Unexpected internal exception ",e);
|
||||
log.debug("Committing session for "+theRecord);
|
||||
transaction.commit();
|
||||
transaction.commit(); log.debug("Calling postCommit");
|
||||
postcommit();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue