It seems that openjpa NativeQuery and NamedNativeQuery only allow "select" sql statements. When I try to insert, delete, update, create table, alter table, drop table, or call a stored procedure, I get <4|false|0.9.6-incubating-SNAPSHOT> org.apache.openjpa.persistence.InvalidStateException: Cannot perform an update or delete operation on select query: "call out2(?, ?)". Is this intentional? I expected the NativeQuery to allow me to execute any valid sql statement.
- openjpa NativeQuery and NamedNativeQuery only allow sel... George Hongell
- Re: openjpa NativeQuery and NamedNativeQuery only ... Marc Prud'hommeaux
- RE: openjpa NativeQuery and NamedNativeQuery only ... Patrick Linskey
- RE: openjpa NativeQuery and NamedNativeQuery o... George Hongell
- Re: openjpa NativeQuery and NamedNativeQue... Marc Prud'hommeaux
- RE: openjpa NativeQuery and NamedNativeQue... Pinaki Poddar
- RE: openjpa NativeQuery and NamedNativ... Patrick Linskey
- cache-topic for clustered Kodo Pinaki Poddar
- Sorry Pinaki Poddar