Bug 292801 - testCacheUsage() of both jpa fieldaccess advanced and jpa advanced model failed on Spring
Summary: testCacheUsage() of both jpa fieldaccess advanced and jpa advanced model fail...
Status: ASSIGNED
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: spring
Keywords: test
Depends on: 288383
Blocks:
  Show dependency tree
 
Reported: 2009-10-20 14:30 EDT by Yiping Zhao CLA
Modified: 2022-06-09 10:25 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yiping Zhao CLA 2009-10-20 14:30:03 EDT
The test of EntityManagerJUnitTestSuite of both models failed following error:

Failed to load the object into the shared cache when there were no changes in the UOW

junit.framework.AssertionFailedError: Failed to load the object into the shared cache when there were no changes in the UOW
at org.eclipse.persistence.testing.tests.jpa.fieldaccess.advanced.EntityManagerJUnitTestSuite.testCacheUsage(EntityManagerJUnitTestSuite.java:308)
at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:428)

James said it's spring bug, the problem is "Spring forces beginEarlyTransaction to be called always". So here I enter a test bug to track this issue.
Comment 1 Yiping Zhao CLA 2009-10-20 14:46:34 EDT
The Spring used is 2.5.6
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:25:02 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink