GitHub user ggerla opened a pull request:

    https://github.com/apache/aries/pull/19

    ARIES-1023 and ARIES-1079 fixing

    In this solution there are 2 PersistenceContextProvider services 
registered. The first is GlobalPersistenceManager, same before, but now with 
property org.apache.aries.jpa.context.type=context. The second one is 
PersistenceBundleManager with property org.apache.aries.jpa.context.type=unit. 
    In this way, when the NSHandler processes the Blueprint xml file notify 
unit name and bundle to "context" service and properties to "unit" service. The 
"unit" service create a new EntityManagerFactory using these properties.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ggerla/aries trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/aries/pull/19.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #19
    
----
commit 35b4a04f5d3ae192013b5e48c4605af221316746
Author: ggerla <[email protected]>
Date:   2014-12-27T15:18:19Z

    Fixed ARIES-1023 modifing namespace expected for map element

commit 6c1e08bc31c8e391ed003a9053b814a3fc034988
Author: ggerla <[email protected]>
Date:   2014-12-27T15:28:21Z

    Added notification to PersistenceBundleManager to use jpa:map properties 
for EntityManagerFactory creation

commit 3771931665a556addfe655c9213a325732d8ced6
Author: ggerla <[email protected]>
Date:   2015-01-15T16:15:16Z

    Merge remote-tracking branch 'aries/trunk' into trunk

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to