Hi Vladimir, A couple of ideas which might help. First, there's the Transactions device that allows you to commit the automatically created transaction and then start a new one. This lets you have multiple transactions within a given request/session. However, there's no support for catching errors/rollbacks.
Alternatively, you could use a regular java Executor/thread pool and then have the threads create their own session using AbstratIsisSessionTemplate. Or, you create background commands and have them invoked via a background scheduler. In 1.x you will need to being in quartz, but 2.0.0-M1 has built-in support. HTH, Dan. On Fri, 10 Aug 2018, 08:58 Vladimir Nišević, <[email protected]> wrote: > Hi folks, as I understand, Isis supports by default one JDBC transaction at > time as part of single IsisTransaction and single IsisSession. > > We have a case where we would need nested JDBC transactions or multiple > parallel transactions where some of the transactions we would need to > rollback and some of them commit. > > Any ideas how to achieve this > > > Kind regards > Vladimir > -- DISCLAIMER: This e-mail is from Haywood Associates Ltd (Registered Number 3525455) and it and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. Any unauthorised use or dissemination of this communication is strictly prohibited. Any information provided to Haywood Associates Ltd shall be retained and used in accordance with our Privacy Statement at http://www.haywood-associates.co.uk/privacy. If you have received this communication in error, please immediately notify the sender by return e-mail message and delete all copies of the original communication.
