I am playing a little bit with wildfly, hibernate-ogm, infinispan. I have st up a short project at https://github.com/aardelean/points .
My main problem is that if user @Transactional aspect, doesn't commit the transaction. When used arjuna TransactionManager.transactionManager() in a programatic way, it works fine.
In debug I can see the Arjuna aspect when used with @Transactional annotation, but nothing happens after, my entries are not commited.
Anyone has any idea if I am missing from persistence.xml some configuration for transactionManager?
I am using wildfly 8.1.0.Final, Hibernate OGM 4.1.0.Beta5.
Thanks for any ideas or feedback.
after investigating and debugging, since I haven't found anything useful on the internet, I found out that this line
<property name="hibernate.transaction.factory_class" value="org.hibernate.transaction.JTATransactionFactory"/>
was the root of my problems. So I deleted and everything magically started to work. I let JBossArjuna JTA do the work.