[jboss-jira] [JBoss JIRA] Updated: (JBRULES-1887) JPAPersisterManager should take EntityManagerFactory as an input parameter

Michal Bali (JIRA) jira-events at lists.jboss.org
Fri Dec 5 19:59:36 EST 2008


     [ https://jira.jboss.org/jira/browse/JBRULES-1887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michal Bali updated JBRULES-1887:
---------------------------------

    Attachment: patch.txt


I've added all combinations of constructor parameters. Delete the ones you don't think are necessary.
Thank you.
Regards,
Michal

> JPAPersisterManager should take EntityManagerFactory as an input parameter
> --------------------------------------------------------------------------
>
>                 Key: JBRULES-1887
>                 URL: https://jira.jboss.org/jira/browse/JBRULES-1887
>             Project: JBoss Drools
>          Issue Type: Patch
>      Security Level: Public(Everyone can see) 
>          Components: drools-process
>    Affects Versions: 5.0.0.M3
>            Reporter: Michal Bali
>            Assignee: Mark Proctor
>         Attachments: patch.txt
>
>
> The JPAPersisterManager is currently creating a new EntityManagerFactory.
> It should probably also take an EntityManagerFactory as an input. This is necessary if you already have an EntityManagerFactory in your application you want to reuse it. Two EntityManagerFactories mean two transactional resources that have to be managed by a distributed transaction and that is unnecessary.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list