Re: Per field encoding
Thank you. That confirms that the JDBC does not support the feature of MySQL that it allows for different encodings per table.
I cannot expect a generic ORM framework to support features that the own JDBC driver does not, e.g. by using different connections for each table.
The "patch" for the problem, BTW, is to not use the ORM's LOB annotation. That way it won't use the setCharacterStream but setString. I am confused why setString handles the encoding, and why whatever makes that work isn't present in setCharacterStream.
Subject
Written By
Posted
Re: Per field encoding
May 03, 2024 05:02AM
Sorry, only registered users may post in this forum.
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.