hql to_number

select max(cast(o.ordernum,int)) from className o

or 

select max(cast(o.ordernum as int)) from className o

posted @ 2016-04-07 16:12  fashflying  阅读(453)  评论(0编辑  收藏  举报