Maxim Solodovnik created OPENJPA-2983:
-----------------------------------------
Summary: Locale-sensitive toUpperCase on temporal field name
Key: OPENJPA-2983
URL: https://issues.apache.org/jira/browse/OPENJPA-2983
Project: OpenJPA
Issue Type: Sub-task
Components: jpa
Affects Versions: 4.2.0
Reporter: Maxim Solodovnik
Fix For: 4.2.0
Discussion thread:
https://github.com/apache/openjpa/pull/144#discussion_r3683005413
**(low)** `field.toString().toUpperCase()` is locale-sensitive ("minute" breaks
under a Turkish default locale). Prefer `toUpperCase(Locale.ROOT)`, and ideally
key off the known LocalDateField/LocalTimeField constants rather than
`toString()`.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)