gavin wrote:
Read the Javadoc.
Which part of the javadoc? The interceptor?
public Boolean isTransient(Object entity)
Called to distinguish between transient and detached entities. The return value determines the state of the entity with respect to the current session.
* Boolean.TRUE - the entity is transient
* Boolean.FALSE - the entity is detached
* null - Hibernate uses the unsaved-value mapping and other heuristics to determine if the object is unsaved
Parameters:
entity - a transient or detached entity
Returns:
Boolean or null to choose default behaviour
I don't know whether or not it has something to do with the Interceptor. Same code which is working before and not working after the migration. Nothing has been mentioned about this in the migration guide.
thanks.