diff --git a/orcid-persistence/src/main/java/org/orcid/persistence/jpa/entities/ProfileEmailDomainEntity.java b/orcid-persistence/src/main/java/org/orcid/persistence/jpa/entities/ProfileEmailDomainEntity.java index 00d53d26cba..c1c9853e6a7 100644 --- a/orcid-persistence/src/main/java/org/orcid/persistence/jpa/entities/ProfileEmailDomainEntity.java +++ b/orcid-persistence/src/main/java/org/orcid/persistence/jpa/entities/ProfileEmailDomainEntity.java @@ -19,7 +19,7 @@ public class ProfileEmailDomainEntity extends BaseEntity { @Id @Column(name = "id") - @GeneratedValue(strategy = GenerationType.AUTO, generator = "event_seq") + @GeneratedValue(strategy = GenerationType.AUTO, generator = "profile_email_domain_seq") @SequenceGenerator(name = "profile_email_domain_seq", sequenceName = "profile_email_domain_seq", allocationSize = 1) public Long getId() { return id;