-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.X EE, 7.0.0 Alpha 2
-
Fix Version/s: 6.2.4 CE GA5, 6.2.X EE, 7.0.0 Alpha 2
-
Component/s: Core Infrastructure > Service Builder
-
Labels:
-
Branch Version/s:6.2.x
-
Backported to Branch:Committed
-
Git Pull Request:
If you have a finder with arrayable-operator on one column and a comparator on another like so:
<finder name="G_F_NotS" return-type="Collection"> <finder-column name="groupId" /> <finder-column name="folderId" arrayable-operator="OR" /> <finder-column name="status" comparator="!=" /> </finder>
after running service builder, the generated code in *PersistenceImpl.java should look like:
if ((list != null) && !list.isEmpty()) { for (BookmarksEntry bookmarksEntry : list) { if ((groupId != bookmarksEntry.getGroupId()) || (status == bookmarksEntry.getStatus())) { list = null; break; } } }
instead it looked like:
if ((list != null) && !list.isEmpty()) { for (BookmarksEntry bookmarksEntry : list) { if ((groupId != bookmarksEntry.getGroupId()) || (status != bookmarksEntry.getStatus())) { list = null; break; } } }
- relates
-
LPE-14378 Finder cache is not used if columns have arrayable-operator and comparator
-
- Closed
-