首页 新闻 搜索 专区 学院

hql语句左连接查询报错 Path expected for join!

0
[已关闭问题] 关闭于 2017-04-17 11:10

 select new Map(o.id as id,o.regno as regno,o.uniscid as uniscid , o.entname as entname,o.lerep as lerep ,o.estdate as estdate,o.dom as dom, o.tel as tel , o.datasource as datasource ,d.nr as djjg  ) from DataQyfrEntity o  LEFT JOIN ABmDjjgEntity  d with (d.bm=o.djjg) 

 

 

报错信息:

 ERROR (org.hibernate.hql.PARSER:56) - Path expected for join!
 ERROR (org.hibernate.hql.PARSER:56) - Invalid path: 'd.nr'
 ERROR (org.hibernate.hql.PARSER:56) - <AST>:0:0: unexpected end of subtree
 WARN (WARN:185) - Handler execution resulted in exception
 java.lang.NullPointerException

如梦一场的主页 如梦一场 | 菜鸟二级 | 园豆:234
提问于:2017-03-21 08:59
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册