|
Hibernate example source code file (M2MIndexedListTargetNotAuditedEntity.java)
The Hibernate M2MIndexedListTargetNotAuditedEntity.java source codepackage org.hibernate.envers.test.entities.manytomany.unidirectional; import java.util.ArrayList; import java.util.List; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; import javax.persistence.ManyToMany; import javax.persistence.OrderColumn; import org.hibernate.envers.Audited; import org.hibernate.envers.RelationTargetAuditMode; import org.hibernate.envers.test.entities.UnversionedStrTestEntity; /** * @author Vladimir Klyushnikov */ @Entity public class M2MIndexedListTargetNotAuditedEntity { @Id private Integer id; @Audited private String data; @Audited(targetAuditMode = RelationTargetAuditMode.NOT_AUDITED) @OrderColumn(name = "sortOrder") @ManyToMany(fetch = FetchType.LAZY) private List<UnversionedStrTestEntity> references = new ArrayList Other Hibernate examples (source code examples)Here is a short list of links related to this Hibernate M2MIndexedListTargetNotAuditedEntity.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 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.