[ https://issues.apache.org/jira/browse/ARIES-691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071836#comment-13071836 ]
Balazs Zsoldos commented on ARIES-691: -------------------------------------- Hi, I added the following to UnionClassLoader and everything works great: if(name.startsWith("org.osgi.framework.")) { return adaptorBundle.loadClass(name); } Is there any reason why you do not use the adaptorBundle.loadClass for loading the classes coming from packages starting with "org.apache.aries.jpa.eclipselink.adapter"? Loading the classes as streams seems to bit difficult to me. However I did not go deep so may be adaptorBundle is not even eclipselinkAdapter bundle... > Add tests for EclipseLink - possibly include fragment for EclipseLink support > ----------------------------------------------------------------------------- > > Key: ARIES-691 > URL: https://issues.apache.org/jira/browse/ARIES-691 > Project: Aries > Issue Type: Improvement > Components: JPA > Affects Versions: 0.4 > Reporter: Timothy Ward > Assignee: Valentin Mahrwald > Fix For: 0.4 > > Attachments: eclipselinkAdapter.patch, eclipselinkadapter.patch > > > We should test the Aries JPA container with EclipseLink as well as OpenJPA to > give us better coverage. This may involve writing code to expose the > EclipseLink PersistenceProvider implementation -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira