Remove "Jpa" from table name 90/116990/1
authorJim Hahn <jrh3@att.com>
Tue, 19 Jan 2021 22:24:40 +0000 (17:24 -0500)
committerJim Hahn <jrh3@att.com>
Tue, 19 Jan 2021 22:25:39 +0000 (17:25 -0500)
The DB table names of the various JpaXxx classes do not include the
"Jpa" prefix.  Removed it from the new Jpa class.

Issue-ID: POLICY-2648
Change-Id: I7f56502d75db05631749780138e989009eb93c83
Signed-off-by: Jim Hahn <jrh3@att.com>
models-pdp/src/main/java/org/onap/policy/models/pdp/persistence/concepts/JpaPdpPolicyStatus.java

index 2da787b..71ec6b8 100644 (file)
@@ -52,7 +52,7 @@ import org.onap.policy.models.tosca.authorative.concepts.ToscaConceptIdentifier;
  * Class to represent PDP-Policy deployment status in the database.
  */
 @Entity
-@Table(name = "JpaPdpPolicyStatus", indexes = {@Index(name = "JpaPdpPolicyStatus_PdpGroup", columnList = "pdpGroup")})
+@Table(name = "PdpPolicyStatus", indexes = {@Index(name = "PdpPolicyStatus_PdpGroup", columnList = "pdpGroup")})
 @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
 @Data
 @EqualsAndHashCode(callSuper = false)