03-07-2012 04:44 AM
### Error querying database. Cause: com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-401, SQLSTATE=42818, SQLERRMC==, DRIVER=3.59.81
### The error may involve org.activiti.engine.impl.persistence.entity.JobEntity.selectExclusiveJobsToExecute-Inline
### The error occurred while setting parameters
### Cause: com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-401, SQLSTATE=42818, SQLERRMC==, DRIVER=3.59.81
03-08-2012 09:19 AM
<select id="selectExclusiveJobsToExecute" parameterType="map" resultMap="jobResultMap">
select *
from ACT_RU_JOB
where (RETRIES_ > 0)
and (DUEDATE_ is null or DUEDATE_ < #{now, jdbcType=TIMESTAMP})
and (LOCK_OWNER_ is null or LOCK_EXP_TIME_ < #{now, jdbcType=TIMESTAMP})
and (RETRIES_ > 0)
and (EXCLUSIVE_ = TRUE)
and (PROCESS_INSTANCE_ID_ = #{pid})
</select>
03-09-2012 05:13 AM
03-12-2012 03:00 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.