Multiple choice technology programming languages

Does hibernate require persistent classes to implement Serializable?

  1. Required

  2. Not Required

  3. None of the above

  4. None

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

Hibernate does NOT require persistent classes to implement Serializable. Serializable is only needed if you want to store objects in HttpSession or replicate them across a clustered cache. Plain POJOs can be persisted without implementing Serializable. Option A is incorrect.