[hibernate-dev] Possible regression on master

2016-05-17 Thread Vlad Mihalcea
Hi, While fixing tests for Oracle after rebasing my branch, I realized that the org.hibernate.test.optlock.OptimisticLockTest > testOptimisticLockAllDelete fails on Oracle10gDialect, while running just fine on H2. When reaching the following branching logic in AbstractEntityPersister: if ( useBa

Re: [hibernate-dev] Possible regression on master

2016-05-17 Thread andrea boriero
what about adding a catch(ObjectNotFoundException onfe){ pe = new OptimisticLockException( e.getMessage, e); } to the existing try/catch that encloses the entity = sharedSessionContract.load( sose.getEntityName(), identifier ) ? On 17 May 2016 at 13:32, Vlad Mihalcea wrote: > Hi, > > While fi

Re: [hibernate-dev] Possible regression on master

2016-05-17 Thread Vlad Mihalcea
Or we could add the: Object get(Class entityClass, Serializable id); method to SharedSessionContract since both SessionImpl and StatelessSessionImpl implement it. This way we can call: entity = sharedSessionContract.get( sose.getEntityName(), identifier ); and leave the current check which ve

[hibernate-dev] Hibernate OGM 5 released

2016-05-17 Thread Davide D'Alto
Hibernate OGM 5.0.0.Final is out! Compared to the 4.2.Final, this release is aligned with Hibernate ORM 5 and Hibernate Search 5, so you can easily use it with WildFly 10. It supports Infinispan 8 and comes with a new back-end for Redis in tech preview. We improved the MongoDB CLI query syntax a

Re: [hibernate-dev] Hibernate OGM 5 released

2016-05-17 Thread Vlad Mihalcea
Congrats! On Tue, May 17, 2016 at 4:52 PM, Davide D'Alto wrote: > Hibernate OGM 5.0.0.Final is out! > > Compared to the 4.2.Final, this release is aligned with Hibernate ORM > 5 and Hibernate Search 5, so you can easily use it with WildFly 10. > > It supports Infinispan 8 and comes with a new ba

Re: [hibernate-dev] Hibernate OGM 5 released

2016-05-17 Thread Sanne Grinovero
Awesome! On 17 May 2016 at 16:44, Vlad Mihalcea wrote: > Congrats! > > On Tue, May 17, 2016 at 4:52 PM, Davide D'Alto wrote: > >> Hibernate OGM 5.0.0.Final is out! >> >> Compared to the 4.2.Final, this release is aligned with Hibernate ORM >> 5 and Hibernate Search 5, so you can easily use it wi