MySQL Forums
Forum List  »  Newbie

Re: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near
Posted by: Rick James
Date: May 28, 2010 12:54AM

You need to "bind" a variable to each "?".

I'm with Guelphdad, 'org.nw.types.impl.ProductImpl@4aea69ed' is nowhere to be found in the INSERT statement. In fact it smells more like the a point in the code.

Please find some way to print the actual SQL statement, preferably after the binding.

Options: ReplyQuote


Subject
Written By
Posted
Re: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near
May 28, 2010 12:54AM


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.