This content has been marked as final.
Show 5 replies
-
1. Re: executeUpdate problem- (bug?)
epbernard May 10, 2006 12:19 AM (in response to armita)Are you *sure* there is no "," in your own code?
-
2. Re: executeUpdate problem- (bug?)
armita May 10, 2006 1:57 AM (in response to armita)I cut&pasted my code and the jboss log. Is it tested for MySQL?
-
3. Re: executeUpdate problem- (bug?)
armita May 13, 2006 8:09 AM (in response to armita)Help me please! I am stucked with this error! Does anybody tested this feature with MySQL?! Can anyone confirm this so I can fill a bug report
-
4. Re: executeUpdate problem- (bug?)
jaikiran May 13, 2006 10:57 AM (in response to armita)I am not sure why this simple query should run into this problem, but just try your luck with the following query:
Query query = em.createQuery("update Activity set startDate=:startDate, endDate=:endDate , actualStartDate=:actualStartDate, actualEndDate=:actualEndDate where tag=:tag and ne.code=:code ");
i.e. try out by specifying the entire query in a single string instead of appending the strings using a "+". Not at a logical solution that i am suggesting, but as i said, you can try your luck. -
5. Re: executeUpdate problem- (bug?)
epbernard May 18, 2006 7:09 PM (in response to armita)I'm not able to reproduce (except that I don't know what 'ne' is).
If you can reproduce then write down a minimal test case and post it to JIRA.