<hibernate-mapping >
    <class name="com.joyoung.emkt.model.SaleAreaStruts" table="tableview" catalog="business">
        <id name="id" type="java.lang.String">
            <column name="dpgid" length="32" />
            <generator class="uuid.hex"></generator>
        </id>
        <component name="bigArea" class="com.joyoung.software.emkt.pojo.SysSellArea">
         <property name="id" type="java.lang.String">
             <column name="baid" length="32" not-null="true" />
         </property>
         <property name="name" type="java.lang.String">
             <column name="baname" length="50" not-null="true" />
         </property>
        </component>
        <component name="priArea" class="com.joyoung.software.emkt.pojo.SysSellArea">
         <property name="id" type="java.lang.String">
             <column name="aid" length="32" not-null="true" />
         </property>
         <property name="name" type="java.lang.String">
             <column name="aname" length="50" not-null="true" />
         </property>
        </component>
        <component name="cityArea" class="com.joyoung.software.emkt.pojo.SysSellArea">
         <property name="id" type="java.lang.String">
             <column name="cid" length="32" not-null="true" />
         </property>
         <property name="name" type="java.lang.String">
             <column name="cname" length="50" not-null="true" />
         </property>
        </component>
    </class>
</hibernate-mapping>saleAreaStruts.bigArea.id如上,SaleAreaStruts对应一个数据库表tableview,bigArea是saleAreaStruts的component。我想给组建bigArea的id字段赋值后做查询,如
criteria.add(Restrictions.eq("applyInfomation.saleAreaStruts.bigArea.id",id));但是报错如下:2009-08-20 09:57:59,125 http-8888-2 [ERROR]:org.springframework.orm.hibernate3.HibernateQueryException: could not resolve property: saleAreaStruts.bigArea.id of: com.joyoung.emkt.model.ApplyInfomation; nested exception is org.hibernate.QueryException: could not resolve property: saleAreaStruts.bigArea.id of: com.joyoung.emkt.model.ApplyInfomation