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.

Reply via email to