@Retention(value=RUNTIME) @Target(value=FIELD) public @interface Audit
Instructions:
AuditListener
EntityListeners
on your entity.
Audit
annotation on column of interest.
Usage example:
@Entity @EntityListeners(YourAuditListener.class) public class YourEntity extends BaseEntity<Long> { @Audit @Column private String email; // ... }
Copyright © 2015–2020 OmniFaces. All rights reserved.