这是我的HQL查询
select 'Async Event Processing/' + coalesce(sje.outcome,'SUCCESS'), sje.duration
from ScheduleJobExecution sje left outer join sje.scheduledJob as sj where sj.id = 1 group by sje.outcome, sje.duration
HQL查询以以下格式返回记录,其中sje.duration以毫秒为单位
[Async Event Processing/SUCCESS, 51225]
我希望在几秒钟内sje.duration
,所以我在select中尝试了sje.duration/1000
,但它没有用
注意:我在UI中输入HQL查询,该UI只接受HQL而不是像Math这样的任何其他库和会话
之类的对象