Hibernate query.list() method is returning empty list instead of null value

Viewed 51320

When there are no rows, both query.list() and criteria.list() are returning empty list instead of a null value.

What is the reason behind this?

2 Answers
Related