类的使用
org.springframework.dao.TypeMismatchDataAccessException
使用TypeMismatchDataAccessException的程序包 程序包 说明 org.springframework.dao.support Support classes for DAO implementations, providing miscellaneous utility methods.org.springframework.dao.support中TypeMismatchDataAccessException的使用
抛出TypeMismatchDataAccessException的org.springframework.dao.support中的方法 修饰符和类型 方法 说明 static int
DataAccessUtils. intResult(Collection<?> results)
Return a unique int result from the given Collection.static long
DataAccessUtils. longResult(Collection<?> results)
Return a unique long result from the given Collection.static <T> T
DataAccessUtils. objectResult(Collection<?> results, Class<T> requiredType)
Return a unique result object from the given Collection.