Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » classic » [javadoc | source]
org.hibernate.classic
public interface: Validatable [javadoc | source] Implemented by persistent classes with invariants that must be checked before inserting into or updating the database.
Method from org.hibernate.classic.Validatable Summary:
validate
Method from org.hibernate.classic.Validatable Detail:
 public  void validate() throws ValidationFailure
    Validate the state of the object before persisting it. If a violation occurs, throw a ValidationFailure. This method must not change the state of the object by side-effect.