org.hibernate.engine.internal
Class Nullability
java.lang.Object
org.hibernate.engine.internal.Nullability
public final class Nullability
- extends Object
Implements the algorithm for validating property values for illegal null values
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Nullability
public Nullability(SessionImplementor session)
checkNullability
public void checkNullability(Object[] values,
EntityPersister persister,
boolean isUpdate)
throws PropertyValueException,
HibernateException
- Check nullability of the class persister properties
- Parameters:
values
- entity propertiespersister
- class persisterisUpdate
- whether it is intended to be updated or saved
- Throws:
PropertyValueException
- Break the nullability of one property
HibernateException
- error while getting Component values
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.