|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IncorrectResultSizeDataAccessException | |
---|---|
org.springframework.dao | Exception hierarchy enabling sophisticated error handling independent of the data access approach in use. |
org.springframework.dao.support | Support classes for DAO implementations, providing miscellaneous utility methods. |
Uses of IncorrectResultSizeDataAccessException in org.springframework.dao |
---|
Subclasses of IncorrectResultSizeDataAccessException in org.springframework.dao | |
---|---|
class |
EmptyResultDataAccessException
Data access exception thrown when a result was expected to have at least one row (or element) but zero rows (or elements) were actually returned. |
Uses of IncorrectResultSizeDataAccessException in org.springframework.dao.support |
---|
Methods in org.springframework.dao.support that throw IncorrectResultSizeDataAccessException | |
---|---|
static int |
DataAccessUtils.intResult(java.util.Collection results)
Return a unique int result from the given Collection. |
static long |
DataAccessUtils.longResult(java.util.Collection results)
Return a unique long result from the given Collection. |
static java.lang.Object |
DataAccessUtils.objectResult(java.util.Collection results,
java.lang.Class requiredType)
Return a unique result object from the given Collection. |
static java.lang.Object |
DataAccessUtils.requiredSingleResult(java.util.Collection results)
Return a single result object from the given Collection. |
static java.lang.Object |
DataAccessUtils.requiredUniqueResult(java.util.Collection results)
Return a unique result object from the given Collection. |
static java.lang.Object |
DataAccessUtils.singleResult(java.util.Collection results)
Return a single result object from the given Collection. |
static java.lang.Object |
DataAccessUtils.uniqueResult(java.util.Collection results)
Return a unique result object from the given Collection. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |