Uses of Class
org.springframework.dao.IncorrectResultSizeDataAccessException
Packages that use IncorrectResultSizeDataAccessException
Package
Description
Exception hierarchy enabling sophisticated error handling independent
of the data access approach in use.
Support classes for DAO implementations,
providing miscellaneous utility methods.
-
Uses of IncorrectResultSizeDataAccessException in org.springframework.dao
Subclasses of IncorrectResultSizeDataAccessException in org.springframework.daoModifier and TypeClassDescriptionclassData 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 IncorrectResultSizeDataAccessExceptionModifier and TypeMethodDescriptionstatic intDataAccessUtils.intResult(@Nullable Collection<?> results) Return a unique int result from the given Collection.static longDataAccessUtils.longResult(@Nullable Collection<?> results) Return a unique long result from the given Collection.DataAccessUtils.nullableSingleResult(@Nullable Collection<T> results) Return a single result object from the given Collection.static <T> TDataAccessUtils.objectResult(@Nullable Collection<?> results, @Nullable Class<T> requiredType) Return a unique result object from the given Collection.static <T> Optional<T> DataAccessUtils.optionalResult(@Nullable Collection<? extends @Nullable T> results) Return a single result object from the given Collection.static <T> Optional<T> DataAccessUtils.optionalResult(@Nullable Iterator<T> results) Return a single result object from the given Iterator.static <T> Optional<T> DataAccessUtils.optionalResult(@Nullable Stream<T> results) Return a single result object from the given Stream.DataAccessUtils.requiredSingleResult(@Nullable Collection<T> results) Return a single result object from the given Collection.static <T> TDataAccessUtils.requiredUniqueResult(@Nullable Collection<T> results) Return a unique result object from the given Collection.static <T> @Nullable TDataAccessUtils.singleResult(@Nullable Collection<T> results) Return a single result object from the given Collection.static <T> @Nullable TDataAccessUtils.singleResult(@Nullable Iterator<T> results) Return a single result object from the given Iterator.static <T> @Nullable TDataAccessUtils.singleResult(@Nullable Stream<T> results) Return a single result object from the given Stream.static <T> @Nullable TDataAccessUtils.uniqueResult(@Nullable Collection<T> results) Return a unique result object from the given Collection.