hiberate的org.hibernate.loader.custom.NonUniqueDiscoveredSqlAliasException异常解决
解决:String strFields = " d.qyzch as qyzch,d.ywwyh as ywwyh,d.qymc as qymc,d.zs as zs,d.tyshxydm as tyshxydm,d.ybjyxm as ybjyxm,d.jggjz as jggjz," +"d.fddbr as fddbr ,d.lxdh as lxdh,d.tsyy as ts
·
解决:
String strFields = " d.qyzch as qyzch,d.ywwyh as ywwyh,d.qymc as qymc,d.zs as zs,d.tyshxydm as tyshxydm,d.ybjyxm as ybjyxm,d.jggjz as jggjz," +
"d.fddbr as fddbr ,d.lxdh as lxdh,d.tsyy as tsyy,d.tssj as tssj, d.rlr as rlr,d.rlsj as rlsj,d.jgsx as pushItem,d.tszt as tszt," +
"d.HZRQ as hzrq , d.rlr as rlr" ;
"d.fddbr as fddbr ,d.lxdh as lxdh,d.tsyy as tsyy,d.tssj as tssj, d.rlr as rlr,d.rlsj as rlsj,d.jgsx as pushItem,d.tszt as tszt," +
"d.HZRQ as hzrq , d.rlr as rlr" ;
重复写了字段名
更多推荐
已为社区贡献7条内容
所有评论(0)