Skip to content

Commit

Permalink
Remove @naturalid annotation from UserInfo: Fixes #1418
Browse files Browse the repository at this point in the history
  • Loading branch information
johnaohara authored and stalep committed Mar 7, 2024
1 parent 56dae40 commit db99704
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 db99704

Please sign in to comment.