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

2018-09-21 Thread Steve Ebersole
What's being returned instead of the fallback? Is that configured somewhere for Hibernate to use that? Like a testing hibernate.properties? On Fri, Sep 21, 2018 at 12:03 PM Scott Marlow wrote: > > > On 9/21/18 10:29 AM, Steve Ebersole wrote: > > Honestly Scott, I am thoroughly confused now as

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

2018-09-21 Thread Scott Marlow
On 9/21/18 10:29 AM, Steve Ebersole wrote: > Honestly Scott, I am thoroughly confused now as to what you are wanting > and what you are reporting. > > Your last code fragment[1] is close.  As I said earlier, building a > SessionFactory typically involves individual service registries being >

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

2018-09-21 Thread Steve Ebersole
Honestly Scott, I am thoroughly confused now as to what you are wanting and what you are reporting. Your last code fragment[1] is close. As I said earlier, building a SessionFactory typically involves individual service registries being used for each SF. You have to go out of your way for that t

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

2018-09-21 Thread Scott Marlow
I verified that SessionFactoryServiceContributor doesn't help WF either, as we see the same problem. I did hack together a unit test under ORM (using the WF integration testing) that shows that we don't see the same problem when the https://github.com/hibernate/hibernate-orm/tree/master/hiberna