Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#3299 fix jdbc session special characters problem #3316

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

mindhaq
Copy link

@mindhaq mindhaq commented Jan 7, 2025

This fixes #3299, which prevents having session attributes with special characters to be stored in a JSONB column as JSON by using a different insertion method for the JSON blob stream.

See also the documentation of convert_from method.

marcusdacoregio and others added 3 commits July 26, 2024 14:43
(cherry picked from commit d63f835)
… encode() to insert JSON byte stream into PreparedStatement.

This works with session attributes containing special characters in the JSON blob.
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jan 7, 2025
@rwinch rwinch closed this Jan 8, 2025
@rwinch rwinch reopened this Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spring Session JDBC JSON format invalid escape sequence
4 participants