fix: EXPOSED-1046 Deserialize JSON columns returned as a Clob - #2879
Open
obabichevjb wants to merge 1 commit into
Open
fix: EXPOSED-1046 Deserialize JSON columns returned as a Clob#2879obabichevjb wants to merge 1 commit into
obabichevjb wants to merge 1 commit into
Conversation
obabichevjb
force-pushed
the
obabichev/exposed-1046-json-clob
branch
from
August 7, 2026 11:17
b6be1b3 to
1e26596
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Summary of the change: A
json()column reading from a large-character column now deserializes the value instead of silently returning the driver'sjava.sql.Clobhandle.Detailed description:
JsonColumnType.valueFromDBacceptedStringandByteArray, but notjava.sql.Clob. When the JSON payload lives in a large-character column, the JDBC driver hands back aClobhandle rather than the text, and that case fell through to theelsebranch.Type of Change
Please mark the relevant options with an "X":
Affected databases:
Related Issues
EXPOSED-1046 https://youtrack.jetbrains.com/issue/EXPOSED-1046