[
https://jira.jboss.org/jira/browse/JBRULES-1887?page=com.atlassian.jira.p...
]
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