Skip to content

Conversation

@bsbodden
Copy link
Collaborator

@bsbodden bsbodden commented Dec 8, 2025

The metamodel generator was using String.toUpperCase() without specifying a locale, causing non-ASCII characters in generated field names when running in Turkish locale. For example, 'id' was converted to 'İD' instead of 'ID'.

Changed all toUpperCase() calls to use Locale.ROOT for consistent ASCII uppercase conversion regardless of system locale settings:

  • MetamodelGenerator: Map field values and nested field names
  • ObjectUtils.staticField(): Static field name generation

The metamodel generator was using String.toUpperCase() without specifying
a locale, causing non-ASCII characters in generated field names when
running in Turkish locale. For example, 'id' was converted to 'İD'
instead of 'ID'.

Changed all toUpperCase() calls to use Locale.ROOT for consistent ASCII
uppercase conversion regardless of system locale settings:
- MetamodelGenerator: Map field values and nested field names
- ObjectUtils.staticField(): Static field name generation
@bsbodden bsbodden merged commit aa539ce into main Dec 8, 2025
4 checks passed
@bsbodden bsbodden deleted the bsb/issue-700 branch December 8, 2025 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants