To get full access to the Kademi Hub existing customers can login here, or new customers can register here.
A transaction manager intended specifically for use with custom apps This is available as the transactionManager variable. So in custom apps you use this:
transactionManager.commit();
Methods
| Name | Returns | Notes | Example |
|---|---|---|---|
| begin ( ) | void | ||
| commit ( ) | void | ||
| rollback ( ) | void | ||
| runInTransaction ( som ) | void | ||
| lockEntityLocally ( entity, som ) | void | Executes 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 ( r ) | Object | ||
| setRollbackOnly ( ) | void | Call this from inside a transaction to ensure it gets rolled back The rollback occurs when the transaction scope ends, not immediately |