aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <>
Subject [jira] [Resolved] (ARIES-964) Support for bundle fragments
Date Fri, 11 Sep 2015 16:14:47 GMT


Christian Schneider resolved ARIES-964.
    Resolution: Cannot Reproduce
      Assignee: Christian Schneider

Until now there is no feedback if this problem still exists in Aries JPA 2. So I am closing
this issue. If it is still relevant please reopen.

> Support for bundle fragments
> ----------------------------
>                 Key: ARIES-964
>                 URL:
>             Project: Aries
>          Issue Type: New Feature
>          Components: JPA
>            Reporter: Tuomas Kiviaho
>            Assignee: Christian Schneider
>         Attachments:,, PersistenceBundleManager.patch
> Currently it's possible to have both persistence.xml and Meta-Persistence: attribute
declared on fragment bundle, but it's not very practical because PersistenceUnitInfo#getClassLoader()
will return null causing providers to fall apart and there won't be any emf's available because
the bundle stays at RESOLVED state.
> I tried to circumvent this by declaring Meta-Persistence: at fragment's host, but required
a bit modification to PersistenceBundleHelper#findPersistenceXmlFiles to use BundleWiring#findEntries
(when it's available)
> Update:
> Although ACTIVE state is now considered instead of resolved state, this issue is still
valid for (multiple) fragment support.
> Patches are not that out-of-date, but I'd gladly send repatches if so deemed.

This message was sent by Atlassian JIRA

View raw message