Skip to content

Commit

Permalink
Custom Sequence Generator not batch compatible #171
Browse files Browse the repository at this point in the history
  • Loading branch information
Mme-adorsys committed Feb 13, 2024
1 parent 998f4d3 commit 23d2237
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 23d2237

Please sign in to comment.