List mylList = session
.createQuery(
"select s.id,s.title from TopicCare as t left join t.topic as s where t.user.id=:myid")
.setParameter("myid", 1l).list();
这个问题是你的编译其中struts中和hibernate中都有antlr的包将struts中的antrl包删除即可;
List mylList = session
.createQuery(
"select s.id,s.title from TopicCare as t left join t.topic as s where t.user.id=:myid")
.setParameter("myid", 1l).list();
这个问题是你的编译其中struts中和hibernate中都有antlr的包将struts中的antrl包删除即可;