[hibernate-dev] Hibernate support for JSR-354?

2015-03-16 Thread Elliot Huntington
Hi, It looks like JSR-354 is progressing nicely and might be included in Java 9. It also looks like the SpringFramework is actively working on including binding and formatting support for this JSR ( https://jira.spring.io/browse/SPR-12209). Has there been any discussion for Hibernate to support an

[hibernate-dev] org.hibernate.AnnotationException: No identifier specified for entity

2015-03-16 Thread Stephen Fikes
https://docs.jboss.org/hibernate/orm/4.2/manual/en-US/html_single/#persistent-classes-pojo-identifier The link above observes that the requirement to provide an identifier for every entity is "... still not (yet) enforced" but "... should be considered a deprecated feature as it will be completely

Re: [hibernate-dev] ORM5 : Reusing the Configuration instance

2015-03-16 Thread Sanne Grinovero
On 16 March 2015 at 20:57, Hardy Ferentschik wrote: > Hi, > > given that the SessionFactory gets closed after each test, I think it would > only be fair to also rebuild the Configuration on each test set-up. > What is the reason for keeping it around anyways? Do the tests run > considerably slower

Re: [hibernate-dev] ORM5 : Reusing the Configuration instance

2015-03-16 Thread Hardy Ferentschik
Hi, given that the SessionFactory gets closed after each test, I think it would only be fair to also rebuild the Configuration on each test set-up. What is the reason for keeping it around anyways? Do the tests run considerably slower when re-building the Configuration for each test? --Hardy On