Multiple choice technology web technology

What are the different states of persistent classes?

  1. Transient, persistent, destroyed

  2. Transient, stored, detached

  3. Transient, persistent, detached

  4. open, close, detached

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

Hibernate persistent objects have three states: transient (new objects not associated with a session), persistent (associated with a session and managed), and detached (previously persistent but session closed). The 'destroyed' option is incorrect as it's not a Hibernate state.