Re: [hibernate-dev] More Dialect and quoting fun

2015-05-26 Thread Steve Ebersole
If anyone is interested, the issue is here: https://hibernate.atlassian.net/browse/HHH-9820 I do wonder overall about the interplay that should happen between a Dialect and the JdbcEnvironment. On Tue, May 26, 2015 at 10:29 PM, Steve Ebersole wrote: > What follows is solely an issue with schema

[hibernate-dev] More Dialect and quoting fun

2015-05-26 Thread Steve Ebersole
What follows is solely an issue with schema update and schema validation, 2 tools that to date we have not "really" supported, but I am trying to change that with 5.0. We discussed before the idea of auto-quoting and who should be the authority in regards to keywords. We decided that it would be

Re: [hibernate-dev] hibernate-osgi JPA bootstrap & classloader

2015-05-26 Thread Steve Ebersole
In regards to OsgiClassLoader and dynamically managing the "classpath", any thoughts on how to handle out single call to OsgiClassLoader#addClassLoader (from OsgiPersistenceProvider passing the javax.persistence.spi.PersistenceUnitInfo#getClassLoader we get from the e-OSGi container)? I am not sur

Re: [hibernate-dev] hibernate-osgi JPA bootstrap & classloader

2015-05-26 Thread Steve Ebersole
I created the following 2 issues to track these improvements: https://hibernate.atlassian.net/browse/HHH-9818 https://hibernate.atlassian.net/browse/HHH-9819 On Tue, May 26, 2015 at 3:57 PM, Steve Ebersole wrote: > Awesome, thanks! So I'll investigate BundleListener... > > Is that the best w

Re: [hibernate-dev] hibernate-osgi JPA bootstrap & classloader

2015-05-26 Thread Steve Ebersole
Awesome, thanks! So I'll investigate BundleListener... Is that the best way to know when TransactionManagers and DataSources come and go too? Or is there a more specific concept for listening to an "OSGi service"? Also, do the containers generally handle "in-flight" requests in regards to Trans

Re: [hibernate-dev] hibernate-osgi JPA bootstrap & classloader

2015-05-26 Thread Brett Meyer
> I would fully expect hibernate-osgi to not directly use Bootstrap to build > an EntityManagerFactoryBuilder. Bootstrap is geared toward users wanting > to leverage 2-phase JPA bootstrapping, not our components. I would have > expected Enterprise OSGi support to instead directly build (and possi

Re: [hibernate-dev] hibernate-osgi JPA bootstrap & classloader

2015-05-26 Thread Steve Ebersole
I would fully expect hibernate-osgi to not directly use Bootstrap to build an EntityManagerFactoryBuilder. Bootstrap is geared toward users wanting to leverage 2-phase JPA bootstrapping, not our components. I would have expected Enterprise OSGi support to instead directly build (and possibly over

[hibernate-dev] First 5.2 Candidate Release - Hibernate Validator 5.2.0.CR1

2015-05-26 Thread Hardy Ferentschik
Hi there, Moving Hibernate Validator along towards a 5.2 Final I am happy to announce the release of Hibernate Validator 5.2.0.CR1. You find more information about the release on in.relation.to - http://in.relation.to/42796.lace Hopefully this will be the first and last Candidate Release and the

Re: [hibernate-dev] hibernate-osgi JPA bootstrap & classloader

2015-05-26 Thread Brett Meyer
IIRC: OsgiPersistenceProvider and OsgiSessionFactoryService both need *some* way to build the OsgiClassLoader and pass it into Hibernate bootstrapping. For the SF, that's easy: just hand OSGiClassLoaderServiceImpl to BootstrapServiceRegistryBuilder. For EMF, it looks like I mistakenly overrod