Skip to content

Commit

Permalink
Issue jakartaee#830 add Enumerated(STRING) because Otavio prefers it …
Browse files Browse the repository at this point in the history
…included
  • Loading branch information
njr-11 committed Aug 28, 2024
1 parent 9deeece commit ba68544
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public enum NumberType {
// Sorting on enum types is vendor-specific in Jakarta Data.
// Use numTypeOrdinal for sorting instead.
@jakarta.nosql.Column
@jakarta.persistence.Enumerated(jakarta.persistence.EnumType.STRING)
private NumberType numType; // enum of ONE | PRIME | COMPOSITE

@jakarta.nosql.Column
Expand Down

0 comments on commit ba68544

Please sign in to comment.