atom feed3 messages in net.java.dev.osworkflow.usersRe: [Opensymphony-workflow] Hibernate...
FromSent OnAttachments
Luca MasiniOct 25, 2004 6:29 am 
Hani SuleimanOct 28, 2004 11:43 am 
Luca MasiniOct 29, 2004 6:47 am 
Subject:Re: [Opensymphony-workflow] Hibernate Transaction Management
From:Hani Suleiman (ha@formicary.net)
Date:Oct 28, 2004 11:43:30 am
List:net.java.dev.osworkflow.users

For any hibernate users (I'm not one), please do speak up if you object to this change, since barring any complaints, it's likely to be checked in.

On Oct 25, 2004, at 9:30 AM, Luca Masini wrote:

HibernateWorkflowStore is limited in its functionality. Current version obtain a SessionFactory and open a new Session for every AbstractWorkflow instance. This has an impact on performance and on transaction behaviour: - Creating an Hibernate Session outside the container application, with a new DB Connection, is not reccomanded by Hibernate Design Pattern implementation - The session is detached from the container session, so if we have a Workflow commit and an application rollback I lost data integrity We have allready implemented a version of the Store that solves this problem, we would like to share with you. Let us know. Ciao.

Gruppo Cassa