persistence@glassfish.java.net

Fix bug 3032

From: Tom Ware <tom.ware_at_oracle.com>
Date: Thu, 31 May 2007 14:09:24 -0400

https://glassfish.dev.java.net/issues/show_bug.cgi?id=3032

Issue number: 3032
Obtained from: TopLink
Submitted by: Tom Ware
Reviewed by: Gordon Yorke

Solves issues where ReportQuery with pessimistic locking do not
automatically cause the UnitOfWork to use the write connectin

Tested with entity-persistence-tests, QuickLook and Oracle-internal tests

Added EntityManagerJunitTestSuite.testPessimisticLockHintStartsTransaction()