可以,但是公式看起来像:
select ent from myEntity ent where ent.isLatest
另一种选择是
mounting the entity in your method.post loading method
上一篇 将Hibernate @Formula转换为JOOQ字段
下一篇 我可以在接口上使用@MappedSuperclass注释吗?
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号