spring+hibernate中的Result object returned from HibernateCallback isn't a List Ok the problem is that for executeFind() the return type is List....so there is no way to use uniqueResult() within the callback from executeFind()...may be we should use execute()
上面这段话来自http://forum.springframework.org/showthread.php?t=58370
在使用executeFind方法时,如果返回的不是List类型的数据则会出现引异常
解决方法是把executeFind方法改为execute方法