Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

How does Hibernate distinguish between transient (i.e. newly instantiated) and detached objects? 
The EmptyInterceptor class provides the isTransient() method to check whether the object is transient or deteched. Method signature:
  java.lang.Boolean isTransient(java.lang.Object obj)