Bug 303110

Summary: JPA 2.0 test implementation for "PessimisticLocking Extended Scope" feature
Product: z_Archived Reporter: Yiping Zhao <yiping.zhao>
Component: EclipselinkAssignee: Project Inbox <eclipselink.orm-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 Keywords: test
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
tests implementation for PessimisticLocking Extended Scope feature
none
tests implementation for PessimisticLocking Extended Scope feature none

Description Yiping Zhao CLA 2010-02-17 14:28:29 EST
According to PessimisticLocking Extended Scope test plan, we need to add tests to cover scenarioes as described in JPA 2.0 specification section 3.4.3, the tests are added to existing JPA advanced model. The changes are:

1. changes in model side
(1). create a new dir "entities" under trunk\jpa\eclipselink.jpa.test\src\org\eclipse\persistence\testing\models\jpa\advanced to include new entities used to form different relationships. The entities are: EntyA, EntyB, EntyC, EntyD, EntyE
(2). modify AdvancedTableCreator.java to include creating tables for above entities and join tables
(3). add "javax.persistence.query.timeout" property in persistence.xml under trunk\jpa\eclipselink.jpa.test\resource\eclipselink-annotation-model

2. changes in test side
new test suite "PessimisticLockingExtendedScopeTestSuite" is added to cover scenarioes as described in test plan, the new suite is added to FullRegressionTestSuite.
Comment 1 Yiping Zhao CLA 2010-02-17 15:23:52 EST
Created attachment 159368 [details]
tests implementation for PessimisticLocking Extended Scope feature
Comment 3 Yiping Zhao CLA 2010-02-18 13:52:15 EST
Created attachment 159469 [details]
tests implementation for PessimisticLocking Extended Scope feature
Comment 4 Yiping Zhao CLA 2010-03-08 15:26:34 EST
The changes has been checked in Main as revision 6623. Currently test tests are disabled because of bug 303360.
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:04:26 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink