jpos / jPOS-EE

jPOS Extended Edition
http://jpos.org
GNU Affero General Public License v3.0
107 stars 152 forks source link

Refactor in createCriteriaQuery to avoid npe and duplicate results #281

Closed jrfinc closed 1 year ago

jrfinc commented 1 year ago

If query.getRestriction() or any of the DBFilters where null, there was a NPE. Also, it could return duplicate results.