Bug 303110 - JPA 2.0 test implementation for "PessimisticLocking Extended Scope" feature
Summary: JPA 2.0 test implementation for "PessimisticLocking Extended Scope" feature
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks:
 
Reported: 2010-02-17 14:28 EST by Yiping Zhao CLA
Modified: 2022-06-09 10:04 EDT (History)
0 users

See Also:


Attachments
tests implementation for PessimisticLocking Extended Scope feature (55.08 KB, patch)
2010-02-17 15:23 EST, Yiping Zhao CLA
no flags Details | Diff
tests implementation for PessimisticLocking Extended Scope feature (55.12 KB, patch)
2010-02-18 13:52 EST, Yiping Zhao CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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