when does executeFind return null? Im just confused because when I try to use this method with some query which I know wont return anything, the method returns an emply list. Am I wrong to expect that the method should return null?
public List executeFind(HibernateCallback action)
Description copied from interface: HibernateOperations
Execute the specified action assuming that the result object is a List.
This is a convenience method for executing Hibernate find calls or queries within an action.
executeFind in interface HibernateOperations
action - calback object that specifies the Hibernate action
a List result returned by the action, or null
DataAccessException - in case of Hibernate errors