from http://openjpa.apache.org/builds/latest/docs/docbook/manual.html#jpa_overview_sqlquery_create
Note In addition to SELECT statements, OpenJPA supports stored procedure invocations as SQL queries. OpenJPA will assume any SQL that does not begin with the SELECT keyword (ignoring case) is a stored procedure call, and invoke it as such at the JDBC level. maybe helpful: http://stackoverflow.com/questions/3572626/calling-stored-procedure-from-java-jpa -- View this message in context: http://openjpa.208410.n2.nabble.com/How-to-call-strored-procedure-with-OpenJPA-tp7581165p7581484.html Sent from the OpenJPA Users mailing list archive at Nabble.com.