Hi, I'm using JDK 1.4.2_05, jBPM-3.0.2 & Hibernate 3.1RC3
SchedulerSession.cancelTimersForProcessInstance() is using the following query to delete timers for a given process instance: delete from org.jbpm.scheduler.exe.Timer where processInstance = :processInstance This throws a Hibernate exception: column "processinstance" does not exist The relevant column in the schema is escaped (processinstance_), so I assume this is a bug with Hibernate or malformed HQL. Changing the above query to: delete from org.jbpm.scheduler.exe.Timer timer where timer.processInstance = :processInstance causes Hibernate to find the mapping of name -> column and generate the correct SQL delete statement. There are a few other HQL strings following the same pattern View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913338#3913338 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913338 ------------------------------------------------------- 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
