Multiple choice technology web technology

Is the Session threadsafe in Hibernate ?

  1. TRUE

  2. FALSE

  3. No matter

  4. None of the above

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

Hibernate Session objects are NOT thread-safe. Each thread should use its own Session instance. Sharing a Session across threads can cause race conditions and data corruption.