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

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


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


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