MySQL Forums
Forum List  »  Connector/JDBC and Java

Re: error on insert in mysql table
Posted by: Filipe Silva
Date: November 10, 2017 06:04PM

Hi Paolo,

Replace the line "preparedStatement.executeUpdate(sql2);" by "preparedStatement.executeUpdate();" and you should be ok.

IHTH

Options: ReplyQuote


Subject
Written By
Posted
November 08, 2017 05:28PM
Re: error on insert in mysql table
November 10, 2017 06:04PM


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.