JBoss Community

Re: jBPM 5.4, Persistence, and Safe-Points

created by Franco Gasperino in jBPM - View the full discussion

Any high-level thoughts from the community experts? The hibernate logs always appear as such:

Hibernate:

    update

        ProcessInstanceInfo

    set

        id=?,

        lastModificationDate=?,

        lastReadDate=?,

        processId=?,

        processInstanceByteArray=?,

        startDate=?,

        state=?,

        OPTLOCK=?

    where

        InstanceId=?

        and OPTLOCK=?

2013-07-01 12:01:07.0968 TRACE pool-2-thread-1 org.hibernate.type.descriptor.sql.BasicBinder - binding parameter [1] as [BIGINT] - 1

2013-07-01 12:01:07.0968 TRACE pool-2-thread-1 org.hibernate.type.descriptor.sql.BasicBinder - binding parameter [2] as [TIMESTAMP] - Mon Jul 01 12:01:07 PDT 2013

2013-07-01 12:01:07.0969 TRACE pool-2-thread-1 org.hibernate.type.descriptor.sql.BasicBinder - binding parameter [3] as [TIMESTAMP] - Mon Jul 01 12:01:07 PDT 2013

2013-07-01 12:01:07.0969 TRACE pool-2-thread-1 org.hibernate.type.descriptor.sql.BasicBinder - binding parameter [4] as [VARCHAR] - com.sample.tests.async.1

2013-07-01 12:01:07.0969 TRACE pool-2-thread-1 org.hibernate.type.descriptor.sql.BasicBinder - binding parameter [5] as [BLOB] - [B@3c76ced6

2013-07-01 12:01:07.0970 TRACE pool-2-thread-1 org.hibernate.type.descriptor.sql.BasicBinder - binding parameter [6] as [TIMESTAMP] - Mon Jul 01 12:01:07 PDT 2013

2013-07-01 12:01:07.0970 TRACE pool-2-thread-1 org.hibernate.type.descriptor.sql.BasicBinder - binding parameter [7] as [INTEGER] - 0

2013-07-01 12:01:07.0970 TRACE pool-2-thread-1 org.hibernate.type.descriptor.sql.BasicBinder - binding parameter [8] as [INTEGER] - 2

2013-07-01 12:01:07.0970 TRACE pool-2-thread-1 org.hibernate.type.descriptor.sql.BasicBinder - binding parameter [9] as [BIGINT] - 1

2013-07-01 12:01:07.0970 TRACE pool-2-thread-1 org.hibernate.type.descriptor.sql.BasicBinder - binding parameter [10] as [INTEGER] - 1

 

I would think that parameter 7 would eventually move to a non-zero state on the safe point to indicate that the process instance is active.

 

TIA,

 

Franco

Reply to this message by going to Community

Start a new discussion in jBPM at Community