I have an entity; which has transient variables. After I commit this entity; I thought that when next time I do any operation on this entity ( without jvm restart like an update on entity) ; those transient values will be reset to null but its not happening so.
What is the best practice ; so that after transaction is committed ( actually even roll back ) successfully ; all transient values are reset.. I know I can explicitly do that; but I am looking for best practice to do so.