我的 hsql 出现错误
No data type for node: org.hibernate.hql.ast.tree.IdentNode
+-[IDENT] IdentNode: 'OrderLocation' {originalText=OrderLocation}
我的映射类是这样的
<class name="core.classes.lab.LabOrder" table="lab_order">
<id name="Order_ID" type="int" column="labOrder_ID">
<generator class="increment" />
</id>
<many-to-one name="TestID" class="core.classes.lab.TestDescription"
fetch="join">
<column name="TestID" not-null="true" />
</many-to-one>
<property name="OrderLocation" column="labOrder_Location"
type="string" />
<property name="OrderStatus" column="labOrder_Status" type="string" />
<property name="DueDate" column="labOrder_DueDate" type="java.util.Date" />
<property name="OrderPriority" column="labOrder_Priority"
type="int" />
<property name="OrderRemarks" column="labOrder_Remarks" type="string" />
<property name="OrderCreateDate" column="labOrder_CreateDate"
type="java.util.Date" />
<property name="OrderCreateUser" column="labOrder_CreateUser"
type="int" />
<property name="OrderLastUpdate" column="labOrder_LastUpdate"
type="java.util.Date" />
<property name="OrderLastUpdateUser" column="labOrder_LastUpdateUser"
type="int" />
</class>
和我这样的hsql查询
Select e from LabOrder as e,TestDescription as t where e.TestID =t.TestID and t.isSpecimenAvailable = true
谁能告诉我为什么我会收到这样的错误请帮助我谢谢