summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-BE-common/src/main
diff options
context:
space:
mode:
authortatta sunder <statta@research.att.com>2020-01-24 16:23:40 -0500
committertatta sunder <statta@research.att.com>2020-01-24 16:24:55 -0500
commitae89eb5056f630f0caca16077c100bb864d0d8ff (patch)
tree26c118780f065dbe171964e10c01267503cdccb6 /ecomp-portal-BE-common/src/main
parent16c3ddbf7f9f644adc23b8f834e6453c5260ada6 (diff)
Remove Sequence Gen Type
Issue-ID: PORTAL-811 Change-Id: I6073780298898f7dc90037cc1db701c49e096c82 Signed-off-by: tatta sunder<statta@research.att.com>
Diffstat (limited to 'ecomp-portal-BE-common/src/main')
-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;