Bug 269403 - trival changes in ProxyAuthenticationServerTestSuite.java, Employee.java and PhoneNumber.java
Summary: trival changes in ProxyAuthenticationServerTestSuite.java, Employee.java and ...
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: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks:
 
Reported: 2009-03-19 11:48 EDT by Yiping Zhao CLA
Modified: 2022-06-09 10:23 EDT (History)
0 users

See Also:


Attachments
trival changes to JPA/ProxyAuthentication model and test classes (7.94 KB, patch)
2009-03-19 11:52 EDT, 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 2009-03-19 11:48:59 EDT
The changes are:

1. Originally the proxy users used in the testing are PA_CONN & PA_PROXY which are shared with tests in ProxyAuthenticationTestSuite, later when running ProxyAuthenticationServerTestSuite on oc4j 10.1.3.5, found that the password of users can't be upper case, then the proxy users for ProxyAuthenticationServerTestSuite needs to be changed to use lower case password.New proxy users will be PAS_CONN/pas_conn and PAS_PROXY(pas_proxy). So teh model classes Employee.java and PhoneNumber.java under trunk\foundation\eclipselink.extension.oracle.test\src\org\eclipse\persistence\testing\models\jpa\proxyauthentication and test class ProxyAuthenticationServerTestSuite.java under trunk\foundation\eclipselink.extension.oracle.test\src\org\eclipse\persistence\testing\tests\jpa\proxyauthentication are changed accordingly

2.Modify comments in ProxyAuthenticationServerTestSuite.java to reflect the user changes

3.Move "Query query = em.createQuery("SELECT e FROM PhoneNumber e");" after startTransaction(em); in testUpdateWithProxy(), because WebSphere complains that query needs to defined within transaction.
Comment 1 Yiping Zhao CLA 2009-03-19 11:52:42 EDT
Created attachment 129364 [details]
trival changes to JPA/ProxyAuthentication model and test classes
Comment 2 Yiping Zhao CLA 2009-03-20 14:43:50 EDT
the changes have been checked in SVN as revision 3709
Comment 3 Yiping Zhao CLA 2009-04-22 14:09:25 EDT
fix for this bug has been checked in 1.1.0 SVN as revision 4019
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:23:33 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink