[hibernate-dev] [OGM] Transaction type "RESOURCE_LOCAL", still JTA is required

Steve Ebersole steve at hibernate.org
Fri Jan 23 08:40:32 EST 2015

Probably in y'alls initiator you will need to make a specific
interpretation of your various settings to determine whether to initiate
the JTA-specific service.  I think that as long as you don't trigger
initialization of the Class, the JVM will not attempt to link in the JTA

On Wed, Jan 14, 2015 at 3:39 AM, Emmanuel Bernard <emmanuel at hibernate.org>

> > On 14 Jan 2015, at 10:08, Gunnar Morling <gunnar at hibernate.org> wrote:
> >
> > 2015-01-13 19:49 GMT+01:00 Steve Ebersole <steve at hibernate.org>:
> >
> >> You'd need to not specify the JtaPlatform service stuff.
> >>
> >
> > Yes, but which org.hibernate.Transaction implementation to use? We'd
> need a
> > "fake" implementation which triggers the grid dialect upon
> flush()/commit()
> > invocations.
> I think I originally replaced it so that it worked for Infinispan. Which
> mandates a JTA TM all the time (for transactions).
> Looks like it was still working for the other datastores and no one
> bothered to improve a working bit until you discovered the extra dependency
> issue.

More information about the hibernate-dev mailing list