The problem is the Hibernate version. The version 3.1 supports aliases in the 
update and delete sentences, the version 3.0 doesn't support it.

If you need the Hibernate 3.0 remove the alias located in the following queries 
(file hibernate.config.xml) and rebuild the sources of the jbpm 3.1:

- SchedulerSession.deleteTimersForProcessInstance
- SchedulerSession.suspendTimersForToken
- SchedulerSession.resumeTimersForToken

For example, the query SchedulerSession.resumeTimersForToken changes from 
"update org.jbpm.scheduler.exe.Timer t set t.isSuspended = false    where 
t.token = :token" to "update org.jbpm.scheduler.exe.Timer set isSuspended = 
false where token = :token"

We have done it in this manner and it runs.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941594#3941594

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941594


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to