hibernate如何实现select a.* from table1 a,table2 b where a.id=b.pid 让其返回的是a表对应的bean?
org.hibernate.hql.ast.QuerySyntaxException:entrytypeisnotmapped[selectmodelfromentryt...
org.hibernate.hql.ast.QuerySyntaxException:
entrytype is not mapped [ select model from entrytype as model, entry_type_relation b, style_resource_relation c.....]后台报错!~ 展开
entrytype is not mapped [ select model from entrytype as model, entry_type_relation b, style_resource_relation c.....]后台报错!~ 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询