hibernate not support decode

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

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

原文地址:https://www.cnblogs.com/anee/p/2681313.html