diff --git a/sts-persistence-jpa/src/main/java/de/adorsys/sts/persistence/jpa/entity/JpaKeyEntryAttributes.java b/sts-persistence-jpa/src/main/java/de/adorsys/sts/persistence/jpa/entity/JpaKeyEntryAttributes.java index 95406940..1145a8d0 100644 --- a/sts-persistence-jpa/src/main/java/de/adorsys/sts/persistence/jpa/entity/JpaKeyEntryAttributes.java +++ b/sts-persistence-jpa/src/main/java/de/adorsys/sts/persistence/jpa/entity/JpaKeyEntryAttributes.java @@ -18,8 +18,7 @@ public class JpaKeyEntryAttributes { @Id - @SequenceGenerator(name = "key_entry_seq", sequenceName = "key_entry_id_seq", allocationSize = 1) - @GeneratedValue(strategy = GenerationType.IDENTITY, generator = "key_entry_seq") + @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; private Long keyStoreId; diff --git a/sts-persistence-jpa/src/main/java/de/adorsys/sts/persistence/jpa/entity/JpaKeyStore.java b/sts-persistence-jpa/src/main/java/de/adorsys/sts/persistence/jpa/entity/JpaKeyStore.java index 09a8d527..ebf828af 100644 --- a/sts-persistence-jpa/src/main/java/de/adorsys/sts/persistence/jpa/entity/JpaKeyStore.java +++ b/sts-persistence-jpa/src/main/java/de/adorsys/sts/persistence/jpa/entity/JpaKeyStore.java @@ -14,8 +14,7 @@ public class JpaKeyStore { @Id - @SequenceGenerator(name = "key_store_seq", sequenceName = "key_store_id_seq", allocationSize = 1) - @GeneratedValue(strategy = GenerationType.IDENTITY, generator = "key_store_seq") + @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; private String name; diff --git a/sts-persistence-jpa/src/main/java/de/adorsys/sts/persistence/jpa/entity/JpaSecret.java b/sts-persistence-jpa/src/main/java/de/adorsys/sts/persistence/jpa/entity/JpaSecret.java index 2bd3327d..45bc9452 100644 --- a/sts-persistence-jpa/src/main/java/de/adorsys/sts/persistence/jpa/entity/JpaSecret.java +++ b/sts-persistence-jpa/src/main/java/de/adorsys/sts/persistence/jpa/entity/JpaSecret.java @@ -12,8 +12,7 @@ public class JpaSecret { @Id - @SequenceGenerator(name = "secret_seq", sequenceName = "secret_id_seq", allocationSize = 1) - @GeneratedValue(strategy = GenerationType.IDENTITY, generator = "secret_seq") + @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; private String subject;