Christian Beikov (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiN2EzYjk0OGQ4...
) / Improvement (
https://hibernate.atlassian.net/browse/HHH-15458?atlOrigin=eyJpIjoiN2EzYj...
) HHH-15458 (
https://hibernate.atlassian.net/browse/HHH-15458?atlOrigin=eyJpIjoiN2EzYj...
) Interpret String with JSON type code as plain JSON (
https://hibernate.atlassian.net/browse/HHH-15458?atlOrigin=eyJpIjoiN2EzYj...
)
Issue Type: Improvement Affects Versions: 6.1.2 Assignee: Unassigned Components:
hibernate-core Created: 22/Aug/2022 02:05 AM Priority: Major Reporter: Christian Beikov (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
When annotating a String field with @JdbcTypeCode(SqlTypes.JSON) we currently serialize
the string to JSON i.e. when given {{
{"abc": "def"}
}} we persist {{
{\"abc\": \"def\"}
}}which is a JSON serialized string. We should interpret a String field with this type
code as plain JSON and skip serialization/deserialization.
(
https://hibernate.atlassian.net/browse/HHH-15458#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15458#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#100205- sha1:59a7aeb )