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.
JPA 1.0(Eclipselink 1.1.x)中缺少 NVL() 函数是否有解决方法?
感谢你并致以真诚的问候
据我所知,没有标准的解决方法。EclipseLink 2.1nvl()将仅通过 JPQL 得到支持。但是对于 EclipseLink 1.1,您似乎必须使用 EclipseLink 表达式,尤其是Expression.ifNull(). 有关详细信息,请参阅此线程和错误 219814。
nvl()
Expression.ifNull()