All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.zeger_tak.enversvalidationplugin.entities.RevisionConstants Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 0.6
Show newest version
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