Bug 298407 - criteria tests should not be run on a server with JPA 1.0 container
Summary: criteria tests should not be run on a server with JPA 1.0 container
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Yiping Zhao CLA
QA Contact:
URL:
Whiteboard: 2_1_community
Keywords: test
Depends on:
Blocks:
 
Reported: 2009-12-22 09:59 EST by Adrian Goerler CLA
Modified: 2022-06-09 10:17 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 Adrian Goerler CLA 2009-12-22 09:59:07 EST
The criteria server tests fail on a server with a JPA 1.0 container, as the server does not expose the criteria API to the client (i.e. the test). The tests should not be executed on a server with JPA 1.0 container, I think.
Comment 1 Gordon Yorke CLA 2009-12-22 10:19:32 EST
This depends on the deployment type.  Application Managed criteria tests should run fine but Container Managed criteria tests should only be run on certain Application Servers.
Comment 2 Tom Ware CLA 2010-01-14 15:35:27 EST
This falls under the set of tasks we are planning to improve our testing on 2.1.  Targetting for 2.1, but the solution here is likely to configure the tests to run in application-managed mode so JPA 2.0 features can be run on a JPA 1.0 server.
Comment 3 Adrian Goerler CLA 2010-01-15 03:56:15 EST
I am not aware of an option to "configure the tests to run in application-managed mode". How is this possible?
Comment 4 Kevin Yuan CLA 2010-06-03 14:48:25 EDT
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.
Comment 5 Yiping Zhao CLA 2011-06-16 13:51:30 EDT
I have verified that the tests have already been excluded from running on JPA1.0 containers.
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:09:42 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 7 Eclipse Webmaster CLA 2022-06-09 10:17:13 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink