Skip to content

Fix DbArray support Non-native JSON-backed arrays for Integer (so MySQL, Oracle, SQLServer etc) - #3893

Merged
rbygrave merged 1 commit into
masterfrom
feature/dbarray-fallback-integer-support
Oct 11, 2026
Merged

rbygrave merged 1 commit into
masterfrom
feature/dbarray-fallback-integer-support

Conversation

@rbygrave

Copy link
Copy Markdown
Member

Without this fix, a DbArray of List on the plaforms that do NOT natively support it like MySQL, Oracle, SQL Server fallback to a JSON array and this didn't support all the specific types like Integer.

This adds the appropriate element converters when reading values, including Integer, Long, floating-point, BigDecimal, date/time, and UUID types. This prevents JSON numeric values from being returned as Long for List properties.

…QL, Oracle, SQLServer etc)

Without this fix, a DbArray of List<Integer> on the plaforms that do NOT natively
support it like MySQL, Oracle, SQL Server fallback to a JSON array and this didn't
support all the specific types like Integer.

This adds the appropriate element converters when reading values, including Integer, Long, floating-point, BigDecimal, date/time, and UUID types. This prevents JSON numeric values from being returned as Long for List<Integer> properties.
@rbygrave rbygrave self-assigned this Oct 11, 2026
@rbygrave
rbygrave merged commit 9ea6197 into master Oct 11, 2026
2 checks passed
@rbygrave rbygrave added this to the 18.7.0 milestone Oct 11, 2026
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.

1 participant