81,091
社区成员
发帖
与我相关
我的任务
分享
<many-to-one name="tpListOption" class="com.easecom.base.model.ListOptions" fetch="select" lazy="false">
<column name="type" length="32"></column>
</many-to-one>
<many-to-one name="stListOption" class="com.easecom.base.model.ListOptions" fetch="select" lazy="false">
<column name="state" length="32"></column>
</many-to-one>
String hq = "from Assets Assets left outer join Assets.stListOption s," +
left outer join Assets.tpListOption t"+
" where 1=1 "
unexpected token: left near line 1, column 83 [from com.easecom.assets.model.Assets Assets left outer join Assets.stListOption s,left outer join Assets.tpListOption t where 1=1 order by Assets.cgDate Desc]
String hq = "from Assets a where a.stListOption.xxx = " + xxx + " and a.tpListOption.xxx= " + xxx;