adspace
What is the importance of lifecycle and validatable interface in hibernate?
Answer Posted / Namit
The Lifecycle interface in Hibernate helps manage the life cycle events of an entity object, such as initialization, persistence, and deletion. The Validator interface can be used to enforce validation rules on entities before they are saved or updated in the database.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers