Details
-
Bug Report
-
Resolution: Won't Fix
-
L3 - Default
-
None
-
None
-
None
Description
PrimitiveValueTypeImpl constructor uses following command to acquire a lowercase primitive type name.
javaType.getSimpleName().toLowerCase()
I think case changes performed should have a fixed locale (or an option to configure these should be available) as they basically effect the metadata persisted to database.
I am using Turkish locale, which ends up serializing Integer type as "ınteger" (notice ı without dot).
Also any locale change may end up breaking existing processes, due to changed lowercase behaviour, causing deserialization errors.
javaType.getSimpleName().toLowerCase(Locale.ENGLISH) // or a property...