Quote:
Initial SessionFactory creation failed.org.hibernate.MappingException: Could not determine type for:<Fully Qualified Mapping Class Name>, for columns: [org.hibernate.mapping.Column(Column Name)].
I am getting the above exception on a primary key field of a class.
Could anybody throw some light what might be the reason?..
I have the Class properly coded with the <Identifier>Primary Key and also the mapping does not have any problem...
The mapping is as follows:
<hibernate-mapping>
<class name="com.refapp.bo.IPAbstract" table="INTD_PARTY">
<cache usage="nonstrict-read-write" />
<id name="id" column="INTD_PARTY_ID">
<generator class="sequence">
<param name="sequence">SEQ_INTED_PARTY_ID</param>
</generator>
</id>
<property name="name" column="LAST_NM" />
<set name="ipAddresses">
<key column="INTD_PARTY_ID"/>
<one-to-many class="com.refapp.bo.IPAddress" />
</set>
<joined-subclass name="com.refapp.bo.EmployerIP"
table="EMPLR">
<key column="INTD_PARTY_ID" />
<property name="employerAcctNo" column="EMPLR_ACCT_NBR" />
<many-to-one name="orgType"
class="com.refapp.bo.OrganizationType" column="ORGN_TYP_CD" />
</joined-subclass>
<joined-subclass name="com.refapp.bo.WorkerIP" table="WORKER">
<key column="INTD_PARTY_ID" />
</joined-subclass>
</class>
</hibernate-mapping>