Handle legacy ordinal strings for CountryType via AttributeConverter

Fixkamo-shared-library
Shipped
April 29, 2026 at 1:53 AM UTC
Author
Kamo
Commit
ba68aff

DB rows had country stored as ordinal integers (e.g. "186" for UNITED_STATES) instead of enum names, causing IllegalArgumentException on findAll(). CountryTypeConverter falls back to ordinal lookup when valueOf fails, and always writes by name going forward.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing