A transaction manager intended specifically for use with custom apps This is available as the transactionManager variable. So in custom apps you use this: <pre> transactionManager.commit(); </pre>


Methods

SignatureReturnsNotes
begin()void
commit()void
rollback()void
runInTransaction(Object som)void
lockEntityLocally(Object entity, Object som)voidExecutes the given function with a local lock on the given entity.This will prevent these operations being run concurrently on the given profile on this server only.
executeInTransaction(Supplier<T> r)T
setRollbackOnly()voidCall this from inside a transaction to ensure it gets rolled back The rollback occurs when the transaction scope ends, not immediately
To get full access to the Kademi Hub existing customers can login here, or new customers can register here.