Hi Al,
I changed hsqldb to mysql, and the testcase could still pass. I didn't know anything about db2 and there is no qa environment for db2 on jbpm project. so if we couldn't find more details, I am afraid that I must left this issue to others who can handle db2.
Attached the testcase with mysql database configuration.