Christian Beikov (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiZmFkYzM5NzEy...
) / Task (
https://hibernate.atlassian.net/browse/HHH-16388?atlOrigin=eyJpIjoiZmFkYz...
) HHH-16388 (
https://hibernate.atlassian.net/browse/HHH-16388?atlOrigin=eyJpIjoiZmFkYz...
) Configuration setting for wrapper Byte[]/Character[] treatment (
https://hibernate.atlassian.net/browse/HHH-16388?atlOrigin=eyJpIjoiZmFkYz...
)
Issue Type: Task Assignee: Unassigned Created: 28/Mar/2023 10:39 AM Priority: Major
Reporter: Christian Beikov (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
As discussed on our call today, introduce a setting that allows configuring the following
three behaviors for Byte[] / Character[] handling:
* INVALID (default) - Throw an informative and actionable error if the types are used
explicitly in the domain model
* ALLOW - Do not throw an error, but keep the array semantics proper i.e. allow null
elements
* LEGACY - Legacy behavior i.e. use ByteArrayJavaType and CharacterArrayJavaType which
disallow null elements
Document the setting in the migration guide.
(
https://hibernate.atlassian.net/browse/HHH-16388#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16388#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100219- sha1:6a6077b )