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



... and my persistence.xml properties:



How can I set the isolation level to read-uncommited to produce the DB2 SQL
clause "WITH UR"? DB2Dictionary defines a constant



but it seems it is never used. Can I set the isolation level on the
connection level with a property in persistence.xml?

Any hint are welcome.

TIA,
Tobias

--
View this message in context: 
http://openjpa.208410.n2.nabble.com/Query-hint-for-isolation-level-does-not-work-OpenJPA-2-0-1-on-DB2-tp6830816p6830816.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to