Multiple choice technology web technology

Which is the name of the Hibernate object state after session close?

  1. Transient

  2. Persistent

  3. Detached

  4. attached

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

When a Hibernate Session is closed, any persistent objects associated with it become detached. Detached objects are no longer managed by Hibernate but still exist in memory with their data. They can later be reattached to a new session if needed.