Re: [hibernate-dev] unique constraint changes

2013-04-08 Thread Brett Meyer
https://github.com/hibernate/hibernate-orm/commit/409ca769258cd4bfc67761d9cf0fca1ab56e That reverted HHH-7797 in 4.1. I just kicked off a build & snapshot release. I'd feel much more comfortable about releasing 4.1.12.Final if some of you could grab and test 4.1.12-SNAPSHOT, once it's fini

Re: [hibernate-dev] unique constraint changes

2013-04-08 Thread Brett Meyer
We cannot simply remove unique constraint generation on an update all-together -- although you have a good point about the exceptions, many users still rely on that functionality. Instead, let's make it configurable. A property would select from the following: 1.) Update ignores all unique co

Re: [hibernate-dev] hooking native MongoDB queries on mapped entities

2013-04-08 Thread Emmanuel Bernard
>From what I understand, this would be equivalent to the @NAtiveNamedQuery support in JPA where you define the binding between the result set and the objects. We can give it a shot. I wonder how much of this is related to the JP-QL query mechanism though and should be shared. Emmanuel On Sun 2013

Re: [hibernate-dev] hooking native MongoDB queries on mapped entities

2013-04-08 Thread Sanne Grinovero
Hi Guillaume, great, your help is always welcome but I didn't want to ask you as you still have many pull requests open. Don't you have enough on your plate already? But feel free to experiment with this idea, seems someone would need to spend some time experimenting. Sanne On 8 April 2013 08:45,

Re: [hibernate-dev] hooking native MongoDB queries on mapped entities

2013-04-08 Thread Guillaume SCHEIBEL
Hi, I'm interested by it, tell me if I can help. Guillaume 2013/4/7 Sanne Grinovero > Looks like a good idea: > https://forum.hibernate.org/viewtopic.php?f=31&t=1025793 > > Davide can you help them figuring out how to hook it all up? > > Sanne > ___