Example usage for Java org.springframework.dao.support DataAccessUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
int | intResult(@Nullable Collection> results) Return a unique int result from the given Collection. |
long | longResult(@Nullable Collection> results) Return a unique long result from the given Collection. |
T | requiredSingleResult(@Nullable Collection Return a single result object from the given Collection. |
T | requiredUniqueResult(@Nullable Collection Return a unique result object from the given Collection. |
T | singleResult(@Nullable Collection Return a single result object from the given Collection. |
RuntimeException | translateIfNecessary(RuntimeException rawException, PersistenceExceptionTranslator pet) Return a translated exception if this is appropriate, otherwise return the given exception as-is. |
T | uniqueResult(@Nullable Collection Return a unique result object from the given Collection. |