"enazareno" wrote : Anyway, I had noticed in your code you issued a commit only and did not use a commit and close the transaction as ff: That's right. In my real code, I'm closing the session, too, but this is *only* a workaround. Should this whole thing work without closing the session? That seems weird to me.
"enazareno" wrote : set the hibernate.show_sql=true in jbpm.hibernate.properties so you can see the sql statements, at least I found that very useful. I'm using it. "enazareno" wrote : Use one JbpmSession per thread/request but the JbpmSessionFactory/configurations must be loaded only once. Yep, I'm using the session-per-request pattern. It's a bit modified, as sometimes I need to reopen the session when this syncing problem is detected. "enazareno" wrote : BTW, what database are you using? We're running with MySQL 4. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913749#3913749 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913749 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
