ERROR - springframework.IncorrectResultSizeDataAccessException - Possible Causes of IncorrectResultSizeDataAccessException

Exception Thrown By:Cause
ClassMethod
DataAccessUtils public static
T requiredSingleResult(Collection results)
if more than one element has
been found in the given Collection.
DataAccessUtils public static
T uniqueResult(Collection results)
if more than oneresult object
has been found in the given Collection
DataAccessUtils public static
T requiredUniqueResult(Collection results)
if more than oneresult object
has been found in the given Collection
DataAccessUtils public static int
intResult(Collection results)
if more than oneresult object
has been found in the given Collection
DataAccessUtils public static long
longResult(Collection results)
if more than oneresult object
has been found in the given Collection