HQL error: with-clause referenced two different from-clause elements
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am getting started with Hibernate and I am using HQL, using some joins to retrieve data from the db but getting this error, any help on how to solve this is appreciated. Field.hbm.xml file: <id name="id" type="string"> <column name="field_map_cd" /> <generator class="assigned"></generator> </id> Rule.hbm.xml file: <many-to-one name="src_field_map" column="field_map_cd" not-null="true" insert="false" update="false"/> <many-to-one name="tgt_field_map" column="field_map_cd" not-null="true" insert="false" update="false"/> HQL query: select t