Re: Query hint for isolation level does not work (OpenJPA 2.0.1 on DB2)

2011-09-26 Thread Rick Curtis
Tobias - I'm somewhat confused by your post? .. I assume you meant to put snippets of a runtime warning? DB2Dictionary defines a constant but it seems it is never used. Correct. How can I set the isolation level to read-uncommited to produce the DB2 SQL clause WITH UR? As it stands today,

Query hint for isolation level does not work (OpenJPA 2.0.1 on DB2)

2011-09-25 Thread Tobias Trelle
I'm trying to use the query hints for ReadLockMode and Isolation described in http://openjpa.apache.org/builds/2.0.1/apache-openjpa-2.0.1/docs/manual/jpa_overview_query.html#jpa_hints_isolation : The isolation level hint produces the following warning at runtime: Here are my versions ...