In hibernate, an object can have 3 states:
- Transient
- Persistent
- Detached
Transient Object
- When an instance is created for an entity class using new() and has not been saved into the database is called Transient object.
- This object has no association with the Session object.
- Any modification done to this object does not make any reflections in the database since no row represents this object in the database.