Our trunk sample uses jta and javax transactional, next step is to remove manual repos
Le vendredi 3 octobre 2014, hwaastad <[email protected]> a écrit : > OK, > what you said made me think of eclipselink flush mode. > > by setting: > eclipselink.persistence-context.flush-mode=commit > > It seems that its working.... > and now I'm sure I'm using a jtaentitymanager :-) > > does openjpa have the same by default? > > BTW, It would be cool to have an example showing a ds datarepository and em > producers for JTA in tomee....would have saved me a few hours :-) > > I also made a test using an em resolver in which you can set the flushmode > on repository....and that works aswell (without jpa provider > configuration....maybe a better solution.) > > thanks again Romain. > > br hw > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/deltaspike-fullstack-example-tp4672086p4672123.html > Sent from the TomEE Users mailing list archive at Nabble.com. > -- Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau
