Re: ClientPreparedQueryBindings setInt method convert int directly to byte array
Posted by: Filipe Silva
Date: December 23, 2021 05:54AM

Hi Chen Yi,

Connector/J cannot avoid cloning the Calendar object because it changes it internally, which could cause problems with other applications. What it could do, though, would be to provide a connection property indicating if the clone should be avoided in that specific connection. However, given that there is an acceptable workaround I'm not sure it would make sense to add such option just for this.

Regarding the BigDecimal optimization, this is something we would have to analyze thoroughly.

You can file feature requests describing the improvements you'd like to see in the connector in the MySQL Bugs platform. Please provide all the information you can to present your case.

Alternatively you may also suggest the changes yourself via GitHub.

Thank you for your interest in Connector/J.

Options: ReplyQuote

Sorry, you can't reply to this topic. It has been closed.

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.