com.github.zeger_tak.enversvalidationplugin.entities.RevisionConstants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of envers-validation-maven-plugin Show documentation
Show all versions of envers-validation-maven-plugin Show documentation
This is a Maven plugin that allows for easy validation of database auditing with Hibernate
and is intended to be used by projects that do not always rely on Envers to create the audit history.
package com.github.zeger_tak.enversvalidationplugin.entities;
import org.hibernate.envers.RevisionType;
public final class RevisionConstants
{
public static final Integer DO_NOT_VALIDATE_REVISION = null;
public static final int ADD_REVISION = RevisionType.ADD.getRepresentation();
public static final int MODIFY_REVISION = RevisionType.MOD.getRepresentation();
public static final int REMOVE_REVISION = RevisionType.DEL.getRepresentation();
private RevisionConstants()
{
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy