Project

General

Profile

Evolution #3505

Clean Criterias usage

Added by Mickael G. almost 6 years ago. Updated almost 5 years ago.

Status:
Fermé
Priority:
Haut
Assignee:
Gregg C.
Category:
Core
Target version:
Start date:
12/21/2013
Due date:
% Done:

100%

Estimated time:
Bdc:

Description

Use Criteria<?>s instance of Criterias in SelectValue class

Recurrences

History

#1Updated by Gregg C. almost 6 years ago

SelectValue currently has an instance of CriteriasBase (allowing multiple conditions with AND/OR).
Switching this to a Criteria instance will limit the usage (only one condition will be allowed)
Switching this to ICriteria will permits erroneous code (something like SELECT * FROM Table1 WHERE id IN (SELECT idTable1 FROM Table2 WHERE SELECT idTable2 FROM Table3...)

Also available in: Atom PDF

Go to top
Add picture from clipboard (Maximum size: 200 MB)