E

Enum-Ordinal Persistence Companion

JetBrains

gap-hunter-labs · v—

Warning on a JPA @Enumerated field with no explicit EnumType.STRING , on a real @Entity class -- JPA's own default is ORDINAL , and reordering or inserting a value in the middle of the enum after data has already been persisted silently corrupts existing records (the stored ordinal no longer corresponds to the same constant). Confirms the field genuinely reaches persistent storage

Database
Open in store ↗ id: 34007
Downloads
50
50
Rating
— ★
— ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Similar in “Database”