|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.springframework.dao.support.DataAccessUtils
Miscellaneous utility methods for DAO implementations. Useful with any data access technology.
| Constructor Summary | |
DataAccessUtils()
|
|
| Method Summary | |
static java.lang.Object |
requiredUniqueResult(java.util.Collection results)
Return a unique result object from the given Collection. |
static java.lang.Object |
uniqueResult(java.util.Collection results)
Return a unique result object from the given Collection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DataAccessUtils()
| Method Detail |
public static java.lang.Object uniqueResult(java.util.Collection results)
throws IncorrectResultSizeDataAccessException
results - the result Collection
IncorrectResultSizeDataAccessException - if more than one
result object has been found in the given Collection
public static java.lang.Object requiredUniqueResult(java.util.Collection results)
throws IncorrectResultSizeDataAccessException
results - the result Collection
IncorrectResultSizeDataAccessException - if more than one
result object has been found in the given Collection
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||