[jboss-jira] [JBoss JIRA] Created: (JBPM-973) Implement a DbPersistenceService that delegates to transaction handling to Hibernate

Matt Read (JIRA) jira-events at lists.jboss.org
Wed May 23 11:36:02 EDT 2007


Implement a DbPersistenceService that delegates to transaction handling to Hibernate
------------------------------------------------------------------------------------

                 Key: JBPM-973
                 URL: http://jira.jboss.com/jira/browse/JBPM-973
             Project: JBoss jBPM
          Issue Type: Feature Request
          Components: Core Engine
    Affects Versions: jBPM jPDL 3.2
            Reporter: Matt Read
         Assigned To: Tom Baeyens
            Priority: Minor
         Attachments: HibernateDbPersistenceServiceFactory.java

Rather than use the JtaDbPersistenceService we wanted to delegate all transaction handling to Hibernate. The file attached to this issue needs the following jbpm.cfg.xml:

    <service name="persistence" factory="com.catlin.workflow.engine.persistence.HibernateDbPersistenceServiceFactory" />

and appropriate session context management in hibernate.cfg.xml:

    	<property name="current_session_context_class">jta</property>

or

    	<property name="current_session_context_class">thread</property>



-- 
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

        



More information about the jboss-jira mailing list