Re: cannot be cast to class com.mysql.cj.jdbc.ClientPreparedStatement
Posted by: Tomonori Iida
Date: April 12, 2023 10:26PM

I will report back with the results.
I set rewriteBatchedStatements=false and it no longer raises ClassCastException.

I am not clear.
What is going on inside the driver when performing updates with multithreading and rewriteBatchedStatements=true?
I have no way of knowing if the behavior with this parameter is due to the spec or a bug.

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.