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

Tom Baeyens (JIRA) jira-events at lists.jboss.org
Fri Jun 1 09:15:12 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBPM-973?page=all ]

Tom Baeyens closed JBPM-973.
----------------------------

    Resolution: Rejected

couldn't figure out what actually was wanted.  please create a new issue with more concrete info if you want this to be handled.  but we don't intend to add more complexity to the current persistence services.  so if it comes down to that, we'll probably not implement it.

> 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