summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/domain/SharedContext.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/domain/SharedContext.java b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/domain/SharedContext.java
index 729540cf..421a2fbc 100644
--- a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/domain/SharedContext.java
+++ b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/domain/SharedContext.java
@@ -70,8 +70,7 @@ public class SharedContext extends DomainVo {
private static final long serialVersionUID = 7287469622586677888L;
@Id
- @SequenceGenerator(name="portal_generator", sequenceName = "portal_generator", initialValue = 1000)
- @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "portal_generator")
+ @GeneratedValue(strategy = GenerationType.AUTO)
@Digits(integer = 11, fraction = 0)
private Long id;