Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364490 - Support access to EntityManager and Factory from Session/events
Summary: Support access to EntityManager and Factory from Session/events
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P2 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-22 11:25 EST by James Sutherland CLA
Modified: 2022-06-09 10:05 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Sutherland CLA 2011-11-22 11:25:12 EST
If you use session or descriptor events in JPA, you cannot access or use the JPA EntityManager or Factory.  We should add back references to the Session and UnitOfWork back to the EntityManager and EntityManagerFactory.

We could link them directly, since we already have JPA dependencies from core, or we could set them as a property, or as an Object and add an unwrap or wrap API to Session to obtain them.
Comment 1 Tom Ware CLA 2011-12-02 10:25:15 EST
Setting target and priority.  See the following page for the meanings of these fields:

http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines

Community: Please vote for this bug if it is important to you.  Votes are one of the main criteria we use to determine which bugs to fix next.
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:05:42 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink