启动时:
Hibernate: insert into SessionInfo (lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (?, ?, ?, ?)
取得连接
Hibernate: insert into ProcessInstanceInfo (lastModificationDate, lastReadDate, processId, processInstanceByteArray, startDate, state, OPTLOCK) values (?, ?, ?, ?, ?, ?, ?)
=======beforeVariableChanged 监听被调用====
=======afterVariableChanged 监听被调用====
=======beforeProcessStarted 监听被调用====
=======beforeNodeTriggered 监听被调用====
=======beforeNodeLeft 监听被调用====
=======beforeNodeTriggered 监听被调用====
fill table(流程图里onEntryAction 方法)
Hibernate: insert into WorkItemInfo (creationDate, name, processInstanceId, state, OPTLOCK, workItemByteArray) values (?, ?, ?, ?, ?, ?)
=======afterNodeTriggered 监听被调用====
=======afterNodeLeft 监听被调用====
=======afterNodeTriggered 监听被调用====
=======afterProcessStarted 监听被调用====
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update ProcessInstanceInfo set lastModificationDate=?, lastReadDate=?, processId=?, processInstanceByteArray=?, startDate=?, state=?, OPTLOCK=? where InstanceId=? and OPTLOCK=?
Hibernate: update WorkItemInfo set creationDate=?, name=?, processInstanceId=?, state=?, OPTLOCK=?, workItemByteArray=? where workItemId=? and OPTLOCK=?
完成第一个节点:
Hibernate: insert into SessionInfo (lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (?, ?, ?, ?)
取得连接
Hibernate: select processins0_.InstanceId as InstanceId7_0_, processins0_.lastModificationDate as lastModi2_7_0_, processins0_.lastReadDate as lastRead3_7_0_, processins0_.processId as processId7_0_, processins0_.processInstanceByteArray as processI5_7_0_, processins0_.startDate as startDate7_0_, processins0_.state as state7_0_, processins0_.OPTLOCK as OPTLOCK7_0_ from ProcessInstanceInfo processins0_ where processins0_.InstanceId=?
Hibernate: select eventtypes0_.InstanceId as InstanceId0_, eventtypes0_.element as element0_ from EventTypes eventtypes0_ where eventtypes0_.InstanceId=?
Hibernate: update ProcessInstanceInfo set lastModificationDate=?, lastReadDate=?, processId=?, processInstanceByteArray=?, startDate=?, state=?, OPTLOCK=? where InstanceId=? and OPTLOCK=?
Hibernate: select workitemin0_.workItemId as workItemId9_0_, workitemin0_.creationDate as creation2_9_0_, workitemin0_.name as name9_0_, workitemin0_.processInstanceId as processI4_9_0_, workitemin0_.state as state9_0_, workitemin0_.OPTLOCK as OPTLOCK9_0_, workitemin0_.workItemByteArray as workItem7_9_0_ from WorkItemInfo workitemin0_ where workitemin0_.workItemId=?
PM。。。。。(流程图里onEntryAction 方法)
Hibernate: insert into WorkItemInfo (creationDate, name, processInstanceId, state, OPTLOCK, workItemByteArray) values (?, ?, ?, ?, ?, ?)
Hibernate: update WorkItemInfo set creationDate=?, name=?, processInstanceId=?, state=?, OPTLOCK=?, workItemByteArray=? where workItemId=? and OPTLOCK=?
Hibernate: delete from WorkItemInfo where workItemId=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
完成第二个节点
Hibernate: insert into SessionInfo (lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (?, ?, ?, ?)
取得连接
Hibernate: select processins0_.InstanceId as InstanceId14_0_, processins0_.lastModificationDate as lastModi2_14_0_, processins0_.lastReadDate as lastRead3_14_0_, processins0_.processId as processId14_0_, processins0_.processInstanceByteArray as processI5_14_0_, processins0_.startDate as startDate14_0_, processins0_.state as state14_0_, processins0_.OPTLOCK as OPTLOCK14_0_ from ProcessInstanceInfo processins0_ where processins0_.InstanceId=?
Hibernate: select eventtypes0_.InstanceId as InstanceId0_, eventtypes0_.element as element0_ from EventTypes eventtypes0_ where eventtypes0_.InstanceId=?
Hibernate: update ProcessInstanceInfo set lastModificationDate=?, lastReadDate=?, processId=?, processInstanceByteArray=?, startDate=?, state=?, OPTLOCK=? where InstanceId=? and OPTLOCK=?
Hibernate: select workitemin0_.workItemId as workItemId16_0_, workitemin0_.creationDate as creation2_16_0_, workitemin0_.name as name16_0_, workitemin0_.processInstanceId as processI4_16_0_, workitemin0_.state as state16_0_, workitemin0_.OPTLOCK as OPTLOCK16_0_, workitemin0_.workItemByteArray as workItem7_16_0_ from WorkItemInfo workitemin0_ where workitemin0_.workItemId=?
Hibernate: delete from WorkItemInfo where workItemId=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
奇怪,没有调用=======afterProcessCompleted ====