|
Hibernate example source code file (AbstractActivity.java)
The Hibernate AbstractActivity.java source codepackage org.hibernate.envers.test.integration.inheritance.mixed.entities; import org.hibernate.envers.Audited; import javax.persistence.EmbeddedId; import javax.persistence.Entity; import javax.persistence.Inheritance; import javax.persistence.InheritanceType; @Audited @Entity @Inheritance(strategy = InheritanceType.SINGLE_TABLE) public abstract class AbstractActivity implements Activity { @EmbeddedId private ActivityId id; private Integer sequenceNumber; public ActivityId getId() { return id; } public void setId(ActivityId id) { this.id = id; } public Integer getSequenceNumber() { return sequenceNumber; } public void setSequenceNumber(Integer sequenceNumber) { this.sequenceNumber = sequenceNumber; } } Other Hibernate examples (source code examples)Here is a short list of links related to this Hibernate AbstractActivity.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.