Bug 264580 - jpa.inheritance.TablePerClassInheritanceJUnitTest.testUpdateAllQuery failed on all application servers
Summary: jpa.inheritance.TablePerClassInheritanceJUnitTest.testUpdateAllQuery failed o...
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: table_per_class
Keywords: test
Depends on:
Blocks:
 
Reported: 2009-02-11 14:41 EST by Kevin Yuan CLA
Modified: 2022-06-09 10:26 EDT (History)
1 user (show)

See Also:


Attachments
patch for the bug (1.53 KB, application/octet-stream)
2009-07-03 08:34 EDT, Kevin Yuan CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Yuan CLA 2009-02-11 14:41:11 EST
The following are exceptions during running on WAS 6.1:
Error issuing update all contracted personel query: com.ibm.ws.jpa.management.JPATxEntityManager incompatible with org.eclipse.persistence.jpa.JpaEntityManager

junit.framework.AssertionFailedError: Error issuing update all contracted personel query: com.ibm.ws.jpa.management.JPATxEntityManager incompatible with org.eclipse.persistence.jpa.JpaEntityManager
at org.eclipse.persistence.testing.tests.jpa.inheritance.TablePerClassInheritanceJUnitTest.testUpdateAllQuery(TablePerClassInheritanceJUnitTest.java:606)
at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBareServer(JUnitTestCase.java:391)
at org.eclipse.persistence.testing.framework.server.TestRunnerBean.runTest(TestRunnerBean.java:87)
at org.eclipse.persistence.testing.framework.server.EJSRemote0SLTestRunner_ed643271.runTest(EJSRemote0SLTestRunner_ed643271.java)
at org.eclipse.persistence.testing.framework.server._EJSRemote0SLTestRunner_ed643271_Tie.runTest(_EJSRemote0SLTestRunner_ed643271_Tie.java)
at org.eclipse.persistence.testing.framework.server._EJSRemote0SLTestRunner_ed643271_Tie._invoke(_EJSRemote0SLTestRunner_ed643271_Tie.java)
at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:621)
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:474)
at com.ibm.rmi.iiop.ORB.process(ORB.java:503)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1571)
at com.ibm.rmi.iiop.Connection.respondTo(Connection.java:2701)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2575)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:62)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:118)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
Comment 1 Kevin Yuan CLA 2009-07-03 08:34:35 EDT
Created attachment 140774 [details]
patch for the bug

Fix for bug 264580 - "jpa.inheritance.TablePerClassInheritanceJUnitTest.testUpdateAllQuery failed on all application servers"
Changes: Add a transaction and getDelegate() to attached object again inside Container.
Reviewed by Edwin Tang
Checked into main (2.0), revision: 4596
Comment 2 Kevin Yuan CLA 2009-07-03 08:37:06 EDT
Checked in the fix, and verified on both J2SE and WLS using Oracle 11.1.0.7 DB.
Comment 3 Peter Krogh CLA 2009-08-26 09:47:35 EDT
Mass update to change fixed in target.
Comment 4 Peter Krogh CLA 2009-08-26 09:50:01 EDT
Mass update to change fixed in target.
Comment 5 Peter Krogh CLA 2009-08-26 09:55:27 EDT
Mass update to change fixed in target.
Comment 6 Peter Krogh CLA 2009-08-26 09:57:46 EDT
Mass update to change fixed in target.
Comment 7 Eclipse Webmaster CLA 2022-06-09 10:26:33 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink