hibernate not support decode

这样的功能不用decode函数也能解决。可以使用to_char。

 

registerFunction("dateadd", new StandardSQLFunction("dateadd", Hibernate.TIMESTAMP));

posted @ 2012-09-12 10:33  Atlas's blog  阅读(933)  评论(0编辑  收藏  举报