[hibernate-dev] Bug fixes around JP-QL and more: Hibernate OGM 4.1.2 released

2015-03-02 Thread Gunnar Morling
Hi, It’s my pleasure to announce the release of Hibernate OGM 4.1.2! This maintenance release fixes several bugs, e.g. around JP-QL, using Hibernate OGM within SAAS environments and mapping byte[] properties on CouchDB. We also clarified several issues in the reference guide. Please check out th

[hibernate-dev] To identify the version of Hibernate ORM at runtime

2015-03-02 Thread Sanne Grinovero
All, it looks like people get easily confused by which version of ORM is compatible with - for example - Hibernate Search. The expected versions are documented plenty, in readme, project sources, documentation and we even remind about the expectations frequently in blog posts. Wondering if it wou

Re: [hibernate-dev] To identify the version of Hibernate ORM at runtime

2015-03-02 Thread Gunnar Morling
> Or we could improve on those methods, if not actually adding some easy to consume resource in the orm jars. Doesn't such resource already exist, in the form of META-INF/MANIFEST.MF -> key "Implementation-Version"? Based on that you should be able to raise a meaningful error if the ORM version i

Re: [hibernate-dev] To identify the version of Hibernate ORM at runtime

2015-03-02 Thread Steve Ebersole
Hmm, I had used to set the set the Specification-* entries too, but it looks like those are no longer there :( On Mon, Mar 2, 2015 at 7:57 AM, Gunnar Morling wrote: > > Or we could improve on those methods, if not actually adding some easy > to consume resource in the orm jars. > > Doesn't such

Re: [hibernate-dev] To identify the version of Hibernate ORM at runtime

2015-03-02 Thread Sanne Grinovero
On 2 March 2015 at 15:05, Steve Ebersole wrote: > Hmm, I had used to set the set the Specification-* entries too, but it looks > like those are no longer there :( Just out of curiosity, what would these define? But not too bad, I think I'll simply rely on parsing org.hibernate.Version#getVersionS

Re: [hibernate-dev] To identify the version of Hibernate ORM at runtime

2015-03-02 Thread Steve Ebersole
It was the "release family". 4.3, or 4.2... On Mar 2, 2015 9:22 AM, "Sanne Grinovero" wrote: > On 2 March 2015 at 15:05, Steve Ebersole wrote: > > Hmm, I had used to set the set the Specification-* entries too, but it > looks > > like those are no longer there :( > > Just out of curiosity, what

Re: [hibernate-dev] To identify the version of Hibernate ORM at runtime

2015-03-02 Thread Gunnar Morling
2015-03-02 16:22 GMT+01:00 Sanne Grinovero : > On 2 March 2015 at 15:05, Steve Ebersole wrote: > > Hmm, I had used to set the set the Specification-* entries too, but it > looks > > like those are no longer there :( > > Just out of curiosity, what would these define? > But not too bad, I think I'

Re: [hibernate-dev] To identify the version of Hibernate ORM at runtime

2015-03-02 Thread Sanne Grinovero
On 2 March 2015 at 15:49, Gunnar Morling wrote: > > > 2015-03-02 16:22 GMT+01:00 Sanne Grinovero : >> >> On 2 March 2015 at 15:05, Steve Ebersole wrote: >> > Hmm, I had used to set the set the Specification-* entries too, but it >> > looks >> > like those are no longer there :( >> >> Just out of