且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Java条件谓词中使用本机SQL

更新时间:2023-10-06 10:09:58

您可以为实体中的表达式定义 @Formula (AOraArrayUserType)并使用条件中的字段

You can define @Formula for the expression in your Entity (AOraArrayUserType) and use the field in criteria

Restrictions.in("theFormulaField", param)