Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328085 - Problem with proxies when javax.persistence not imported by punit bundle
Summary: Problem with proxies when javax.persistence not imported by punit bundle
Status: RESOLVED WONTFIX
Alias: None
Product: Gemini.JPA
Classification: RT
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.0.0 RC2   Edit
Assignee: Michael Keith CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-18 20:33 EDT by Michael Keith CLA
Modified: 2011-07-04 09:21 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Keith CLA 2010-10-18 20:33:50 EDT
The PersistenceServicesUtil class expects to load the EMF from the punit bundle, but when XML is used and javax.persistence is not imported the proxy creation fails.
Comment 1 Michael Keith CLA 2011-07-04 09:21:23 EDT
Reasonable constraint for now that users must ensure that javax.persistence package is imported by the punit.