|
Hibernate example source code file (AuditOverrides.java)
The Hibernate AuditOverrides.java source codepackage org.hibernate.envers;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
* The {@code AuditingOverrides} annotation is used to override the auditing
* behavior for one ore more fields (or properties) inside an embedded
* component.
*
* @author Erik-Berndt Scheper
* @see javax.persistence.Embedded
* @see javax.persistence.Embeddable
* @see javax.persistence.MappedSuperclass
* @see javax.persistence.AssociationOverride
* @see javax.persistence.AssociationOverrides
* @see AuditJoinTable
* @see AuditOverride
*/
@Target({ TYPE, METHOD, FIELD })
@Retention(RUNTIME)
public @interface AuditOverrides {
/**
* @return An array of {@link AuditOverride} values, to define the new auditing
* behavior.
*/
AuditOverride[] value();
}
Other Hibernate examples (source code examples)Here is a short list of links related to this Hibernate AuditOverrides.java source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.