fixed typo in AbstractComponentDescriptorInsertRepository and AbstractEventInsertRepository
This commit is contained in:
parent
54ba69a82c
commit
5a648467bf
@ -51,11 +51,11 @@ public abstract class AbstractComponentDescriptorInsertRepository implements Com
|
||||
TransactionStatus transaction = getTransactionStatus(TransactionDefinition.PROPAGATION_REQUIRES_NEW);
|
||||
try {
|
||||
componentDescriptorEntity = processSaveOrUpdate(entity, insertOrUpdateOnUniqueKeyConflict);
|
||||
transactionManager.commit(transaction);
|
||||
} catch (Throwable th) {
|
||||
log.trace("Could not execute the update statement for Component Descriptor with id {}, name {} and entityType {}", entity.getUuid(), entity.getName(), entity.getType());
|
||||
transactionManager.rollback(transaction);
|
||||
}
|
||||
transactionManager.commit(transaction);
|
||||
} else {
|
||||
log.trace("Could not execute the insert statement for Component Descriptor with id {}, name {} and entityType {}", entity.getUuid(), entity.getName(), entity.getType());
|
||||
}
|
||||
|
||||
@ -51,11 +51,11 @@ public abstract class AbstractEventInsertRepository implements EventInsertReposi
|
||||
TransactionStatus transaction = getTransactionStatus(TransactionDefinition.PROPAGATION_REQUIRES_NEW);
|
||||
try {
|
||||
eventEntity = processSaveOrUpdate(entity, insertOrUpdateOnUniqueKeyConflict);
|
||||
transactionManager.commit(transaction);
|
||||
} catch (Throwable th) {
|
||||
log.trace("Could not execute the update statement for Entity with entityId {} and entityType {}", entity.getEventUid(), entity.getEventType());
|
||||
transactionManager.rollback(transaction);
|
||||
}
|
||||
transactionManager.commit(transaction);
|
||||
} else {
|
||||
log.trace("Could not execute the insert statement for Entity with entityId {} and entityType {}", entity.getEventUid(), entity.getEventType());
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user