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
=(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.
> 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
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