List of usage examples for org.hibernate.envers RelationTargetAuditMode NOT_AUDITED
RelationTargetAuditMode NOT_AUDITED
To view the source code for org.hibernate.envers RelationTargetAuditMode NOT_AUDITED.
Click Source Link
From source file:au.org.theark.core.model.study.entity.Address.java
License:Open Source License
@Audited(targetAuditMode = RelationTargetAuditMode.NOT_AUDITED) @ManyToOne(fetch = FetchType.LAZY)/*from w w w .j ava 2 s . c o m*/ @JoinColumn(name = "ADDRESS_STATUS_ID") public AddressStatus getAddressStatus() { return this.addressStatus; }
From source file:au.org.theark.core.model.study.entity.Address.java
License:Open Source License
@Audited(targetAuditMode = RelationTargetAuditMode.NOT_AUDITED) @ManyToOne(fetch = FetchType.LAZY)/*from w w w. j ava2 s . co m*/ @JoinColumn(name = "ADDRESS_TYPE_ID") public AddressType getAddressType() { return addressType; }
From source file:au.org.theark.core.model.study.entity.Address.java
License:Open Source License
@Audited(targetAuditMode = RelationTargetAuditMode.NOT_AUDITED) @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "COUNTRY_ID") public Country getCountry() { return country; }
From source file:au.org.theark.core.model.study.entity.Address.java
License:Open Source License
@Audited(targetAuditMode = RelationTargetAuditMode.NOT_AUDITED) @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "STATE_ID") public State getState() { return state; }
From source file:com.example.app.model.AbstractAuditableSoftDeleteEntity.java
License:Open Source License
@Override @GraphWalkerNoVisit(modes = HibernateUtil.DEEP_INIT_MODE_UI) @ManyToOne(fetch = FetchType.LAZY)/*from w w w . ja v a 2s. c o m*/ @Audited(targetAuditMode = RelationTargetAuditMode.NOT_AUDITED) public Principal getLastModUser() { return _lastModUser; }
From source file:com.example.app.model.company.Company.java
License:Open Source License
/** * Get the address/*from w w w .j a v a 2 s .c om*/ * * @return the address */ @ManyToOne(fetch = FetchType.LAZY) @Cascade({ CascadeType.PERSIST, CascadeType.MERGE, CascadeType.SAVE_UPDATE }) @Audited(targetAuditMode = RelationTargetAuditMode.NOT_AUDITED) public Address getAddress() { return _address; }
From source file:com.example.app.model.company.Company.java
License:Open Source License
/** * Get primary contact email address// www . j a v a 2 s.c o m * * @return the primary email address */ @ManyToOne(fetch = FetchType.LAZY) @Cascade({ CascadeType.PERSIST, CascadeType.MERGE, CascadeType.SAVE_UPDATE }) @Audited(targetAuditMode = RelationTargetAuditMode.NOT_AUDITED) public EmailAddress getEmailAddress() { return _emailAddress; }
From source file:com.example.app.model.company.Company.java
License:Open Source License
/** * Get the company logo//ww w. ja v a 2 s .c o m * * @return the logo */ @ManyToOne(fetch = FetchType.LAZY) @Cascade({ CascadeType.PERSIST, CascadeType.MERGE, CascadeType.SAVE_UPDATE }) @Audited(targetAuditMode = RelationTargetAuditMode.NOT_AUDITED) @Nullable public FileEntity getLogo() { return _logo; }
From source file:com.example.app.model.company.Company.java
License:Open Source License
/** * Get the phone number//from w w w .java2 s.co m * * @return the phone number */ @ManyToOne(fetch = FetchType.LAZY) @Cascade({ CascadeType.PERSIST, CascadeType.MERGE, CascadeType.SAVE_UPDATE }) @Audited(targetAuditMode = RelationTargetAuditMode.NOT_AUDITED) public PhoneNumber getPhoneNumber() { return _phoneNumber; }
From source file:com.example.app.model.profile.Membership.java
License:Open Source License
/** * Get the MembershipOperations that this Membership has * * @return the MembershipOperations//from ww w .j a v a2 s . co m */ @ManyToMany(fetch = FetchType.LAZY) @JoinTable(name = OPERATIONS_JOIN_TABLE, schema = ProjectConfig.PROJECT_SCHEMA, joinColumns = @JoinColumn(name = ID_COLUMN), inverseJoinColumns = @JoinColumn(name = MembershipOperation.ID_COLUMN)) @Audited(targetAuditMode = RelationTargetAuditMode.NOT_AUDITED) @BatchSize(size = 10) @Cache(usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE, region = ProjectCacheRegions.ENTITY_DATA) @Nonnull public List<MembershipOperation> getOperations() { return _operations; }