diff options
author | Vitaly Takmazov | 2024-07-01 04:10:37 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2024-07-01 04:10:37 +0300 |
commit | 9436d4927dc5035c83620bdd1dd34600370dce56 (patch) | |
tree | 2443779dddd23288e0f71b852293d736cf5db942 /src/main/java/com/juick/data/entities/EmailEntity.java | |
parent | 9e2e2732d67ba0088b56804f7193e95b4ae46f22 (diff) |
JPA: fix relations, add new fields, add basic tests
Diffstat (limited to 'src/main/java/com/juick/data/entities/EmailEntity.java')
-rw-r--r-- | src/main/java/com/juick/data/entities/EmailEntity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/data/entities/EmailEntity.java b/src/main/java/com/juick/data/entities/EmailEntity.java index 4e71adc5..e13ca772 100644 --- a/src/main/java/com/juick/data/entities/EmailEntity.java +++ b/src/main/java/com/juick/data/entities/EmailEntity.java @@ -24,7 +24,7 @@ import jakarta.persistence.*; public class EmailEntity extends BaseUserPropertyEntity { @Id @Column(name = "email") - @GeneratedValue(strategy = GenerationType.AUTO) + @GeneratedValue(strategy = GenerationType.IDENTITY) private String email; public String getEmail() { |