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()