I was upgrading Hibernate Search to depend on latest Hibernate Core
release, a very minor step but this broke the build.

In Search we're using

org.hibernate.PessimisticLockException.getEntity()

to convert it to a javax.persistence.PessimisticLockException when
using the JPA API.

It's not a hard change for Search to use one of the other exception
constructors to omit the missing information about the entity, but I'd
like someone to confirm that this removal was intentional and needed,
as I wasn't expecting API changes.

Sanne
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to