Author: koen.aers(a)jboss.com
Date: 2009-07-30 05:43:55 -0400 (Thu, 30 Jul 2009)
New Revision: 5387
Modified:
jbpm4/trunk/modules/pvm/src/main/resources/jbpm.execution.hbm.xml
Log:
JBPM-2419: change Job.dueDate in Job.duedate
Modified: jbpm4/trunk/modules/pvm/src/main/resources/jbpm.execution.hbm.xml
===================================================================
--- jbpm4/trunk/modules/pvm/src/main/resources/jbpm.execution.hbm.xml 2009-07-30 09:25:10
UTC (rev 5386)
+++ jbpm4/trunk/modules/pvm/src/main/resources/jbpm.execution.hbm.xml 2009-07-30 09:43:55
UTC (rev 5387)
@@ -199,7 +199,7 @@
<discriminator column="CLASS_" />
<version name="dbversion" column="DBVERSION_" />
- <property name="dueDate" column="DUEDATE_"
type="timestamp" index="IDX_JOBDUEDATE" />
+ <property name="duedate" column="DUEDATE_"
type="timestamp" index="IDX_JOBDUEDATE" />
<property name="state" column="STATE_" />
<property name="isExclusive" column="ISEXCLUSIVE_" />
<property name="lockOwner" column="LOCKOWNER_" />
@@ -248,7 +248,7 @@
<![CDATA[
select t
from org.jbpm.pvm.internal.job.TimerImpl as t
- order by dueDate asc
+ order by duedate asc
]]>
</query>
@@ -264,7 +264,7 @@
select job
from org.jbpm.pvm.internal.job.JobImpl as job
where job.retries = 0
- order by dueDate asc
+ order by duedate asc
]]>
</query>
@@ -277,15 +277,15 @@
or (job.lockExpirationTime <= :now)
)
and
- ( (job.dueDate is null)
- or (job.dueDate <= :now)
+ ( (job.duedate is null)
+ or (job.duedate <= :now)
)
and
( job.retries > 0 )
and
( job.state != 'suspended' )
)
- order by job.dueDate asc
+ order by job.duedate asc
]]>
</query>
@@ -298,10 +298,10 @@
and job.isExclusive = true
and job.retries > 0
and job.state != 'suspended'
- and ( (job.dueDate is null)
- or (job.dueDate <= :now)
+ and ( (job.duedate is null)
+ or (job.duedate <= :now)
)
- order by job.dueDate asc
+ order by job.duedate asc
]]>
</query>
@@ -312,7 +312,7 @@
where job.lockOwner is null
and job.retries > 0
and job.state != 'suspended'
- order by job.dueDate asc
+ order by job.duedate asc
]]>
</query>
Show replies by date