Package io.permazen
Interface UniquenessConstraints
public interface UniquenessConstraints
JSR 303 validation group for Permazen uniqueness constraints.
Explicit use of this class only needed if you wish to manually trigger validation of uniqueness constraints only, for example:
user.setUsername(u); user.revalidate(UniquenessConstraints.class); user.getTransaction().validate(); // throws exception if 'u' is not unique