79450966

Date: 2025-02-19 10:23:33
Score: 2
Natty:
Report link

The default mapping for Enums is using an Integer. If you want to save them as a String, you need to add @Enumerated(EnumType.STRING) Annotation above your Enum field.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user25718310