-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Error while executing update query?
PostPosted: Fri Jun 22, 2012 6:37 am 
Newbie

Joined: Fri Jun 22, 2012 6:30 am
Posts: 1
Hi:

I am using JSF,Hibernate amd Mysql in my project.
I have written update query as,

Code:
update payslipmaster  set instrumentNo=3 where memberNo=3733


But at compile time it will be converted like,
Code:
update payslipmaster[b],[/b]  set instrumentNo=3 where memberNo=3733


And error generated as follows,

com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: 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 'set instrumentNo=3 where memberNo=3733' at line 1


So can anybody help me to solve this issue?


Thank You,
Anup


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.