Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 330126

Summary: EMF service is not visible when punit has mapping files
Product: [RT] Gemini.JPA Reporter: Michael Keith <michael.keith>
Component: CoreAssignee: Michael Keith <michael.keith>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 1.0.0 RC2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Michael Keith CLA 2010-11-12 13:39:58 EST
The EMF service seems to be registered fine but is not visible to service listener tests. See TestMappingFileElement and TestOrmMappingFile tests.
Comment 1 Michael Keith CLA 2011-07-04 09:17:27 EDT
Need to import the javax.persistence package from the punit (even though it does not strictly require it since everything is in a mapping file) in order to allow the EMF to be registered in the service registry using the punit context.

Tests changed to add import.