HHH-11475 - Deprecate ModificationStore

This commit is contained in:
Chris Cranford 2017-02-08 11:42:32 -05:00
parent 8461913c5c
commit 82cf0c1caa
4 changed files with 16 additions and 0 deletions

View File

@ -25,7 +25,9 @@ import java.lang.annotation.Target;
public @interface Audited {
/**
* Specifies modification store to use
* @deprecated since 5.2, to be removed in 6.0 with no replacement.
*/
@Deprecated
ModificationStore modStore() default ModificationStore.FULL;
/**

View File

@ -9,7 +9,9 @@ package org.hibernate.envers;
/**
* @author Adam Warski (adam at warski dot org)
* @deprecated since 5.2, to be removed in 6.0 with no replacement.
*/
@Deprecated
public enum ModificationStore {
FULL
}

View File

@ -101,10 +101,18 @@ public class PropertyAuditingData {
this.beanName = beanName;
}
/**
* @deprecated since 5.2, to be removed in 6.0 with no replacement.
*/
@Deprecated
public ModificationStore getStore() {
return store;
}
/**
* @deprecated since 5.2, to be removed in 6.0 with no replacement.
*/
@Deprecated
public void setStore(ModificationStore store) {
this.store = store;
}

View File

@ -88,6 +88,10 @@ public class PropertyData {
return accessType;
}
/**
* @deprecated since 5.2, to be removed in 6.0 with no replacement.
*/
@Deprecated
public ModificationStore getStore() {
return store;
}