all right .. a new day a new beginning
so I found out that jBPM isn't properly persisting its data, I was expecting it to either persist everything or nothing, but not only parts of a row (certain column values were missing) because I saw the id was present and some other columns I was thinking it had persisted fine, but apparently I was wrong it's doing that because in my second Hibernate session (not managed via Spring) I wasn't using any explicit transaction demarcation, I was assuming jBpm would pick up the transaction from Spring somehow I was thinking this would be the case because when I actually would use transactions and commit at the end of the method it would say: cannot commit on a managed transaction, so I was wondering where this managed transaction was coming from .. I thought Spring anyway, I seem to have fixed it by using this piece of AndroMDA configuration: <namespace name="spring"> <properties> <property name="username">${dataSource.user}</property> <property name="password">${dataSource.password}</property> <property name="driver">${dataSource.driver.class}</property> <property name="connectionUrl">${dataSource.url}</property> <property name="localTransactionManager">org.springframework.orm.hibernate3.HibernateTransactionManager</property> ... this will trigger the generation of a local data source using the Hibernate transaction manager, if I configure this I just have to explicitely start and commit the transaction and all is fine (no more complaints from jBpm) additional jbpm hibernate configuration wasn't required everything now works as before.. -- Wouter Zoons - [EMAIL PROTECTED] http://www.andromda.org/ _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2584#2584 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user