Bug 328070 - Three criteria tests failed on GlassFish V3.0.1 due to GlassFish bug
Summary: Three criteria tests failed on GlassFish V3.0.1 due to GlassFish bug
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-10-18 15:28 EDT by Yiping Zhao CLA
Modified: 2022-06-09 10:08 EDT (History)
1 user (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 2010-10-18 15:28:23 EDT
The tests are under org.eclipse.persistence.testing.tests.jpa.advanced.AdvancedJPAJunitTest.java
testAdditionalCriteriaWithParameterFromEM1()
testAdditionalCriteriaWithParameterFromEM2()
testComplexAdditionalCriteria()

The exception is: 

javax.persistence.TransactionRequiredException
at com.sun.enterprise.container.common.impl.EntityManagerWrapper.doTxRequiredCheck(EntityManagerWrapper.java:152)
at com.sun.enterprise.container.common.impl.EntityManagerWrapper.setProperty(EntityManagerWrapper.java:785)
at org.eclipse.persistence.testing.tests.jpa.advanced.AdvancedJPAJunitTest.testAdditionalCriteriaWithParameterFromEM1(AdvancedJPAJunitTest.java:376)
at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBareServer(JUnitTestCase.java:534)

Note:
1. GlassFish bug: https://glassfish.dev.java.net/issues/show_bug.cgi?id=14054
2. The issue will be fixed in latest GlassFish build
Comment 1 Martin Grebac CLA 2014-12-10 15:01:50 EST
External bug fixed.
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:05:21 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:08:04 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink