Re: Strange Exception during native UPDATE-query

2008-08-22 Thread Sebastian Gauder
That's it! Thank you guys! Pinaki Poddar schrieb: Hi, I just ran the query with mysql-connector-java-5.1.6 -- and it seems to work OK. 1641 test TRACE [main] openjpa.jdbc.SQL - executing prepstmnt 21830977 UPDATE JBT_Order_Product SET product_id=? WHERE EXISTS (SELECT o.id FROM JBT_Ord

Re: Strange Exception during native UPDATE-query

2008-08-21 Thread Pinaki Poddar
=(int) 100] -- View this message in context: http://n2.nabble.com/Strange-Exception-during-native-UPDATE-query-tp735650p741484.html Sent from the OpenJPA Users mailing list archive at Nabble.com.

Re: Strange Exception during native UPDATE-query

2008-08-21 Thread MiƂosz Tylenda
> I'm getting a strange Exception when executing the follwing native query > to a MySQL db: > >String statement = "UPDATE JBT_Order_Product " + > "SET product_id=100"+ > " WHERE EXISTS " + > "(SELECT o

Strange Exception during native UPDATE-query

2008-08-20 Thread Sebastian Gauder
Hey, I'm getting a strange Exception when executing the follwing native query to a MySQL db: String statement = "UPDATE JBT_Order_Product " + "SET product_id=100"+ " WHERE EXISTS " + "(SELECT o.id FR