Re: [hibernate-dev] Is there a way to have ServiceContributor per SessionFactory/EMF instead of per application classloader?

2018-09-20 Thread Scott Marlow
On 9/20/18 3:17 PM, Scott Marlow wrote: > I'm going to try some more changes on the WF side, to see if I can work > around this problem.  I'll report back on how that goes. :) I tried overriding the ServiceRegistryImplementor#initiateService(Map configurationValues, ServiceRegistryImplementor r

Re: [hibernate-dev] Is there a way to have ServiceContributor per SessionFactory/EMF instead of per application classloader?

2018-09-20 Thread Scott Marlow
I'm going to try some more changes on the WF side, to see if I can work around this problem. I'll report back on how that goes. :) On 9/20/18 12:05 PM, Scott Marlow wrote: > Is https://gist.github.com/scottmarlow/63241549820243923aab16e664c3c6c3 > closer to what we need? > > On 9/19/18 3:47 PM

Re: [hibernate-dev] Is there a way to have ServiceContributor per SessionFactory/EMF instead of per application classloader?

2018-09-20 Thread Scott Marlow
Is https://gist.github.com/scottmarlow/63241549820243923aab16e664c3c6c3 closer to what we need? On 9/19/18 3:47 PM, Steve Ebersole wrote: > StandardServiceRegistry`No, it's not. > > Each call to `registry.getService( RegionFactory.class )` in your test > returns the same `RegionFactory` - by de