Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 371364 - JPA test JUnitJPQLComplexTestSuite.testPessimisticLock hangs on MaxDB
Summary: JPA test JUnitJPQLComplexTestSuite.testPessimisticLock hangs on MaxDB
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard: maxdb
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-13 09:03 EST by Sabine Heider CLA
Modified: 2022-06-09 10:33 EDT (History)
2 users (show)

See Also:


Attachments
Test JUnitJPQLComplexTestSuite.testPessimisticLock rewritten (5.08 KB, patch)
2012-02-13 09:07 EST, Sabine Heider CLA
tom.ware: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sabine Heider CLA 2012-02-13 09:03:53 EST
The JPA test JUnitJPQLComplexTestSuite.testPessimisticLock does not work on MaxDB. It hangs when the second EntityManager reads the locked entity.

I rewrote the test so that it preserves the intention of the test (patch attached). I tested it successfully on MaxDB and MySQL.

As we don't have a SAP committer any more - could any of the others commit that for me, please? (Provided the patch is okay, of course...) 
We would need the patch in 2.3 and trunk.

Thanks and best regards,
Sabine
Comment 1 Sabine Heider CLA 2012-02-13 09:07:13 EST
Created attachment 210908 [details]
Test JUnitJPQLComplexTestSuite.testPessimisticLock rewritten
Comment 2 Tom Ware CLA 2012-03-02 14:59:24 EST
Setting target and priority.  See the following page for the meanings of these fields:

http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines

Community: Please vote for this bug if it is important to you.  Votes are one of the main criteria we use to determine which bugs to fix next.
Comment 3 Tom Ware CLA 2012-04-20 10:03:06 EDT
Fix checked in.

Tested with JPA LRG

Reviewed: Tom Ware reviewed user submitted fix
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:33:09 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink