getEntityName « Interceptor « JPA Q&A





1. Interceptor's getEntityName is not used. Bug in Hibernate?    stackoverflow.com

I implemented getEntityName method in my interceptor. I was expecting that the method will be called by Hibernate to resolve entity name of a (transient) object when I save the object. ...

2. Interceptor's getEntityName is not used. Bug in Hibernate?    forum.hibernate.org

Hi All, I implemented getEntityName method in my interceptor. I was expecting that the method will be called by Hibernate to resolve entity name of a (transient) object when I save the object. However, the method getEntityName from the interceptor was not used in the following scenarios: 1) session.saveOrUpdate was called with some entity name value. It was expected that the ...