| From | Sent On | Attachments |
|---|---|---|
| Luca Masini | Oct 25, 2004 6:29 am | |
| Hani Suleiman | Oct 28, 2004 11:43 am | |
| Luca Masini | Oct 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.
-- ******************************* Ing. Luca Masini Software Engineer
Gruppo Cassa
Infogroup S.p.a. Via delle Panche, 140 50141 Firenze Tel. 055.436.5644 Fax. 055.436.5658 ICQ# 137094359 e-mail l.ma...@infogroup.it *******************************





