adspace
What is difference between persistent and transient objects?
Answer Posted / Subodh Anand
In Hibernate, a persistent object is an object that has been saved to the database, while a transient object is an object that has not yet been saved or has been evicted from the session. Persistent objects are managed by the Hibernate Session and have a unique identifier (ID). Transient objects do not have an ID and are not associated with any database table.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers