What is difference between persistent and transient objects?
Answer / 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 |
What is difference between hibernate session get() and load() method?
Which one is the default transaction factory in hibernate?
What is cascading and what are different types of cascading?
What is difference between hibernate and jpa?
What is hibernate flush?
Is hibernate obsolete?
What do you map in orm process?
What does hql stand for?
Does hibernate support mongodb?
What is transaction management in hibernate?
What is lazy code?
What is the benefit of hibernate criteria api?