[JBoss JIRA] Created: (JBPM-792) Add support for JNDI bound SessionFactory
by C??dric Vidal (JIRA)
Add support for JNDI bound SessionFactory
-----------------------------------------
Key: JBPM-792
URL: http://jira.jboss.com/jira/browse/JBPM-792
Project: JBoss jBPM
Issue Type: Feature Request
Components: Core Engine
Reporter: C??dric Vidal
Assigned To: Tom Baeyens
Today, jBPM manages the configuration of Hibernate which is fine in simple applications where jBPM is the main piece but in a enterprise application where jBPM is one of the many modules that are using Hibernate as a persistence mechanism, you don't want to configure your hibernate SessionFactory multiple times, so you want to configure your SessionFactory once, bind it to JNDI and tell jBPM to use it.
It would be great if out of the box, jBPM would be able to lookup the SessionFactory it uses out of JNDI instead of configuring it locally.
Regards,
Cédric
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months
[JBoss JIRA] Created: (JBPM-961) Save not required on jbpmContext operations
by Jeff DeLong (JIRA)
Save not required on jbpmContext operations
-------------------------------------------
Key: JBPM-961
URL: http://jira.jboss.com/jira/browse/JBPM-961
Project: JBoss jBPM
Issue Type: Bug
Components: Core Engine
Affects Versions: jBPM jPDL 3.2
Reporter: Jeff DeLong
Assigned To: Tom Baeyens
Priority: Minor
Save (or ForUpdate methods) do not appear to be required on jbpmContext operations.
In the javadocs for JbpmContext it says
...do your process operations...
// in case you update a process object that was not fetched
// with a .. ForUpdate method, you have to save it
jbpmContext.save(processInstance);
...
"All of the ...ForUpdate(...) methods will automatically save the loaded object at jbpmContext.close();
I have verified through JUnit tests that indeed saving of ProcessInstance and TaskInstance is not required, the state will still be persisted.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months