Re: Per field encoding
Posted by: Tom Eugelink
Date: May 03, 2024 05:02AM

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.

Options: ReplyQuote


Subject
Written By
Posted
May 02, 2024 05:39AM
Re: Per field encoding
May 03, 2024 05:02AM
May 03, 2024 06:46AM
May 06, 2024 03:58AM
May 06, 2024 04:23PM
May 10, 2024 07:17AM
May 10, 2024 10:58AM
May 10, 2024 11:03AM
May 13, 2024 06:51PM
May 13, 2024 11:56PM


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.