Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0
-
None
-
Linux, ubuntu 8.04
Description
There is a bug transforming and expression containing an inExp/notInExp into EJBQL :
I create a expression filtering departments :
List<Short> departmentIds = new ArrayList<Short>(_departmentList.size());
for (Department department : _departmentList)
return ExpressionFactory.notInExp(DailyJob.DEPARTMENT_ID_PROPERTY, departmentIds);
---> "SMASTER.DEPTID not in (1, 2)"
Then i transform it to EJBQL with Expression.toEJBQL("a")
---> "a.departmentId not in ()"
The IN clause is empty.