Eclipselink extend JOIN clause

时间秒杀一切 提交于 2019-12-01 06:45:35

EclipseLink added support for the ON clause in a 2.5 nightly build as described here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=367452 but it is not a part of the JPA specification so you will need to cast the Join to EclipseLink's org.eclipse.persistence.internal.jpa.querydef.JoinImpl

((JoinImpl)ld).on(cb.and(cb.equal(ld.get("intervalas"), 7));
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!