Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人知道如何在 H2 数据库中实现 Oracle 的new_time函数吗?我一直在搜索,没有看到任何关于如何转换它的信息。
您可以创建一个用户定义的函数。
在 H2 中创建存储过程非常简单,只需创建一个静态方法即可。因此,只需将您所需的函数实现为静态方法,编译您的代码,将其放在类路径(您的应用程序或 H2)中。