Re: [hibernate-dev] Feature for handling getNextValue work in same transaction.

2013-08-09 Thread Jeremy Whiting
Hi Scott, To the database the sequence of statements will be as follows. The statements around the read and write of sequence table are an example to put the sequence_table work into context. tx1 BEGIN SELECT blah SELECT blah UPDATE blah SELECT * from sequence_table; UPDATE sequence_table

Re: [hibernate-dev] Feature for handling getNextValue work in same transaction.

2013-08-09 Thread Scott Marlow
On 08/08/2013 11:21 AM, Jeremy Whiting wrote: > Hi, >I am looking for feedback on changes to provide the ability for work > to be completed in a currently running transaction. For example when a > TableGenerator or SequenceGenerator is being used for generating unique > ids. The statements that

Re: [hibernate-dev] Search and JDK 6: @Override annotations

2013-08-09 Thread Guillaume Smet
Hi Gunnar, On Fri, Aug 9, 2013 at 6:19 PM, Gunnar Morling wrote: > Not sure though whether an ad-hoc action is required to add it everywhere. > In Eclipse I'm having a "save action" which adds it to every file I'm > touching in the course of other work I'm doing. I don't like that much this sort

Re: [hibernate-dev] Search and JDK 6: @Override annotations

2013-08-09 Thread Sanne Grinovero
+1 to add them, but I might then need to remove some specific ones when we test compatibility vs. older Hibernate ORM versions. Sometimes we implement methods which are not defined on an older version of the API, having the @Override on it doesn't make it compile. But feel free to add them everywhe

Re: [hibernate-dev] Search and JDK 6: @Override annotations

2013-08-09 Thread Gunnar Morling
+1 We're doing the same in HV. Not sure though whether an ad-hoc action is required to add it everywhere. In Eclipse I'm having a "save action" which adds it to every file I'm touching in the course of other work I'm doing. --Gunnar 2013/8/9 Hardy Ferentschik > > On 9 Jan 2013, at 5:49 PM,

Re: [hibernate-dev] Search and JDK 6: @Override annotations

2013-08-09 Thread Hardy Ferentschik
On 9 Jan 2013, at 5:49 PM, Guillaume Smet wrote: > AFAICS in the pom.xml, Search is now compiled for Java 6. > > I think It would be a good idea to add the @Override annotation to the > methods implemented from an interface, considering it's supported in > Java 6. +1 --Hardy

[hibernate-dev] Hibernate Metamodel Generator 1.3.0.Final

2013-08-09 Thread Hardy Ferentschik
The second release today of the Hibernate team. Details as usual on in.relation.to - http://in.relation.to/24338.lace --Hardy ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

[hibernate-dev] Search and JDK 6: @Override annotations

2013-08-09 Thread Guillaume Smet
Hi, AFAICS in the pom.xml, Search is now compiled for Java 6. I think It would be a good idea to add the @Override annotation to the methods implemented from an interface, considering it's supported in Java 6. I'm willing to do the grunt work and prepare a pull request in the next few days if yo

[hibernate-dev] Hibernate Validator 5.1.0.Alpha1 Released

2013-08-09 Thread Gunnar Morling
Hi, Hibernate Validator 5.1.0.Alpha1 has been released, with several new features around method validation and message interpolation as well as performance improvements. Check out http://in.relation.to/Bloggers/HibernateValidator510Alpha1Releasedfor the details. --Gunnar