Bug #120682 Connector/J decodes MySQL JSON columns with connection encoding when metadata collation is binary

Submitted: 14 Jun 9:23 Modified: 25 Jun 20:51
Reporter: Junjie Zhang (OCA) Email Updates:
Status: Unsupported Impact on me:
None 
Category:Connector / J Severity:S3 (Non-critical)
Version:Connector/J 5.1.49 MySQL Server 5.7.44 OS:Any
Assigned to: CPU Architecture:Any
Tags: charset, connector-j, gbk, json

Contributions can be accepted to Open bugs only.

[14 Jun 9:29] Junjie Zhang
Patch for Connector/J 5.1.49: preserve FIELD_TYPE_JSON field encoding when result metadata collation is binary, instead of falling back to the connection encoding.

(*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Attachment: mysql-connector-java-5.1.49-json-field-encoding.patch (application/octet-stream, text), 1.43 KiB.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.061 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.