org.bonitasoft.engine.scheduler.impl.hibernate.schedulerimpl.queries.hbm.xml Maven / Gradle / Ivy
SELECT COUNT(jd)
FROM org.bonitasoft.engine.scheduler.model.impl.SJobDescriptorImpl AS jd
SELECT jd
FROM org.bonitasoft.engine.scheduler.model.impl.SJobDescriptorImpl AS jd
SELECT COUNT(jp)
FROM org.bonitasoft.engine.scheduler.model.impl.SJobParameterImpl AS jp
SELECT jp
FROM org.bonitasoft.engine.scheduler.model.impl.SJobParameterImpl AS jp
SELECT COUNT(jl)
FROM org.bonitasoft.engine.scheduler.model.impl.SJobLogImpl AS jl
SELECT jl
FROM org.bonitasoft.engine.scheduler.model.impl.SJobLogImpl AS jl
SELECT new org.bonitasoft.engine.scheduler.model.impl.SFailedJobImpl(jd.id, jd.jobName, jd.description, jl.retryNumber, jl.lastUpdateDate, jl.lastMessage)
FROM org.bonitasoft.engine.scheduler.model.impl.SJobLogImpl AS jl,
org.bonitasoft.engine.scheduler.model.impl.SJobDescriptorImpl AS jd
WHERE jd.id = jl.jobDescriptorId
ORDER BY jl.lastUpdateDate ASC