`

query did not return a unique result: 2

阅读更多

to_date('2010-01-18 21:45:00', 'yyyy-mm-dd HH24:MI:ss')
Exception in thread "AWT-EventQueue-0" org.hibernate.NonUniqueResultException: query did not return a unique result: 2

 

就是查询没有返回唯一结果啊,SQL语句有问题,出现重复值了,要不就是你的唯一索引没有建好~~ 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics