| Summary: | EJB3.1: Verify JTA 1.1 and JPA 2.0 container managed persistence in Java EE 6 WebProfile stacks | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Michael OBrien <michael.f.obrien> |
| Component: | Eclipselink | Assignee: | Michael OBrien <michael.f.obrien> |
| Status: | ASSIGNED --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | eclipselink.orm-inbox, peter.krogh |
| Version: | unspecified | Flags: | michael.f.obrien:
documentation+
|
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | 338837 | ||
| Bug Blocks: | 338708 | ||
|
Description
Michael OBrien
11819710 >Verify entity search for Web Profile predeploy acts like EE or SE in the WAR
- do we need to define entity classes in persistence.xml like the following - which for Java EE 5 on the EJB container - we do not.
<persistence-unit name="CollatzGF-ejbPU" transaction-type="JTA">
<class>org.eclipse.persistence.example.distributed.collatz.model.UnitOfWork</class>
<exclude-unlisted-classes>false</exclude-unlisted-classes>
>Verified we have an issue in bug# 338837 for persistence.xml unspecified entities we attempt to use via Criteria or Metamodel when running a Java SE or RESOURCE_LOCAL persistence context
The workaround has been proven to be either of the following
- Global to all entities
<exclude-unlisted-classes>false</exclude-unlisted-classes>
- Specific to 1+ entities
<class>entity.Category</class>
bug scrub The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |