Community
Participate
Working Groups
This model failed with following error message: <failure message="A descriptor for the Employee alias was not found in the default1 PU." type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: A descriptor for the Employee alias was not found in the default1 PU. at org.eclipse.persistence.testing.tests.jpa.advanced.AdvancedJPAJunitTest.testVerifyEmployeeCacheSettings(AdvancedJPAJunitTest.java:310) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:428) Note: If I just AdvancedJPAJunitTest individually, the test will pass. or if I put "AdvancedJPAJunitTest " to be the first one to execute in AdvancedServerTestSuite, the tests will pass when running AdvancedServerTestSuite. So looks like there is another persistence unit "default1" defined in persistence.xml which is included in model jars under classpath, but I can't find it.
From the nightly test result since 2009-10-27, the test passed in advanced model, I don't know why. So I close the bug as invalid, i will reopen it if it occurs again later.
it failed in EclipseLink 1.2 Branch Spring 3.0
This bug fix did not make the cut off for 2.1. We are deferring the bugs to Future where we can properly sort them all together and severity. And then assign them accordingly to future patch sets and releases.
The issue only appears in EclipseLink 1.2 as for today. The test is same as that in EclipseLink 2.0, 2.1 and trunk. The fix is put the AdvancedJPAJunitTest as the first one to execute in AdvancedServerTestSuite, the change has been checked in 1.2 as revision 7955. code is reviewed By Kevin Yuan.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink