ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Evgenii Zhuravlev <e.zhuravlev...@gmail.com>
Subject Re: No transaction is currently active || Not allowed to create transaction on shared EntityManager - use Spring transactions or EJB CMT instead
Date Tue, 30 Jan 2018 07:30:15 GMT
Unfortunately, there is more than one file and it will look unreadable
here. All code can be accessed on github via the link I've provided earlier.


2018-01-30 7:10 GMT+03:00 Amir Akhmedov <amir.akhmedov@gmail.com>:

> You need to register a bean as follow
> <bean id="transactionManager" class="org.apache.ignite.transactions.spring.SpringTransactionManager">
>         <property name="transactionConcurrency" value="OPTIMISTIC"/>
>         <property name="igniteInstanceName" value="testGrid"/>
> </bean>
> Please check the link a sent you earlier it has tests with all required configurations.
It can serve as a good example.

View raw message