[jboss-jira] [JBoss JIRA] Updated: (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:03 EDT 2007
[ http://jira.jboss.com/jira/browse/JBPM-973?page=all ]
Matt Read updated JBPM-973:
---------------------------
Attachment: HibernateDbPersistenceServiceFactory.java
> 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>
> The end result is all transactionality is delegated to jBPM's Hibernate context.
> Let me know if this is of any use and I'll neaten it up for use inside the jBPM source tree.
--
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