[
https://jira.jboss.org/jira/browse/JBPM-2038?page=com.atlassian.jira.plug...
]
Tom Baeyens commented on JBPM-2038:
-----------------------------------
we concluded to add
// static effect
Configuration.setHibernateSessionFactory(SessionFactory)
// only affects the next service method invocation
// (this means that we'll have to use a ThreadLocal internally)
ProcessEngine.setHibernateSession(Session)
ProcessEngine.setJdbcConnection(Connection)
user provided hibernate session
-------------------------------
Key: JBPM-2038
URL:
https://jira.jboss.org/jira/browse/JBPM-2038
Project: JBoss jBPM
Issue Type: Task
Security Level: Public(Everyone can see)
Reporter: Tom Baeyens
Assignee: Tom Baeyens
Priority: Minor
Fix For: jBPM 4.x
Attachments: HibernateSessionFactoryBinding.java,
HibernateSessionFactoryDescriptor.java
make sure that jbpm can work with a hibernate session or a jdbc connection that is
provided by the client.
--
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