1

I am using the <join> in my entity mapping and Hibernate keeps throwing the error class TechnologyCatalogSummary not found while looking for property: version


Hibernate Mapping

<class entity-name="Summary" table="CATALOG" mutable="true" name="Catalog">
    <id name="CatId" column="cat_id"/>
    <property name="Name" column="Cat_Name" />
    <property name="version" column="version" />
    <property name="edition" column="edition" length="255" />
    <property name="platform" column="platform" length="50" />

    <join table="v_techClsfnLvl">  
        <key column="cat_id"/>  
        <property name="level" column="Level"/>
    </join>

</class>

Exception: Caused by: org.hibernate.MappingException: class Summary not found while looking for property: level

But, my class Catalog actually have the property 'level' and I don't understand why the exception says class not found on the entity name ('Summary')

Appreciate your time!

4

0 回答 0