summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2020-09-30 17:39:21 +0100
committerliamfallon <liam.fallon@est.tech>2020-09-30 17:39:24 +0100
commitb8c397eb62b91cbcadd10448410a3487ab0dfec8 (patch)
treecd1bc0a13325ff235ea687cb4fdd71d2948aca45
parent53dcd55318a66a03be958c0e4bbf636ff3a80659 (diff)
Remove Entity annotation from PfConceptContainer
The PfConceptContainer class uses incompatible JPA anotations @MappedSuperClass and @Entity are incompatible as a MappedSuperClass cannot be an entity. Eclipselink silently tolerates this incompatibility but Hibernate (used in CLAMP) throws a build error on this class. Issue-ID: POLICY-2851 Change-Id: I2fd3d9217dc00717f8f2471e4848d254e7726b11 Signed-off-by: liamfallon <liam.fallon@est.tech>
-rw-r--r--models-base/src/main/java/org/onap/policy/models/base/PfConceptContainer.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/models-base/src/main/java/org/onap/policy/models/base/PfConceptContainer.java b/models-base/src/main/java/org/onap/policy/models/base/PfConceptContainer.java
index b8f2ed6cb..14d6585ea 100644
--- a/models-base/src/main/java/org/onap/policy/models/base/PfConceptContainer.java
+++ b/models-base/src/main/java/org/onap/policy/models/base/PfConceptContainer.java
@@ -62,7 +62,6 @@ import org.onap.policy.models.base.PfValidationResult.ValidationResult;
*/
//@formatter:on
@MappedSuperclass
-@Entity
@Table(name = "PfConceptContainer")
@Data
@EqualsAndHashCode(callSuper = false)