logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

org.hibernate.impl.QueryImpl cannot be cast to java.util.List

String hql="select r from Doctor d,Reserve r where r.doctor.id=d.id and d.id=1 and r.reserveDay='2014-12-12'";List r=(List) session.createQuery(hql).list();忘记写.list()了。

#hibernate
到底了