Hibernate Validator Annotations Example

Welcome to Hibernate Validator Annotations Example tutorial. Today, i will show you Hibernate Validator API with a full working example. Hibernate Validator is a JSR 303 implementation for bean validation. The way to work with hibernate framework is to define constraints for java bean fields, and then, validating the bean. Hibernate Validator features Defining validation … Read more

Difference between save and persist method in Hibernate

What is difference between save and persist method in Hibernate are most important in any Hibernate interview. Hibernate Session is the interface between java application and hibernate framework. It provides some methods to move an object from new or transient state to persistent state. For example, save(), saveOrUpdate() and persist() methods are used to store … Read more

Please share it if you found this useful
Hide Buttons