add demo of transient-persistence-detached state of entity object