Skip to content

Commit

Permalink
Remove @naturalid annotation from UserInfo: Fixes Hyperfoil#1418
Browse files Browse the repository at this point in the history
  • Loading branch information
johnaohara committed Mar 6, 2024
1 parent cdc0b50 commit 723cd07
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import jakarta.validation.constraints.NotNull;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.annotations.NaturalId;

import java.util.HashSet;
import java.util.Set;
Expand All @@ -40,7 +39,6 @@
@Cacheable
public class UserInfo extends PanacheEntityBase {
@Id
@NaturalId
@NotNull
@Username
public String username;
Expand Down

0 comments on commit 723cd07

Please sign in to comment.