Register / Login
Object Relational Mapping
Prop-ref not working????????
posted 10 years ago
Hello, I am new to Hibernate and I am using Hibernate 3.1.2 with a legacy database system. I am trying to use the <join> element:
<class name="UserActivity" table "UserActivity">
<id name="id" column="activity_id">
<property name="userActivity" column="activity_type_cd" type="int"/>
<key column="role_cd" prop-ref="activity_type_cd"/>
However, the join condition is still including
I be doing differently? Any help is greatly appreciated - thanks.
Problem in mapping
Join Table many-to-one issue
many-to-one relationship to non-PK field
Hibernate in a DAO pattern & lazy loading
Hibernate generating queries with duplicate columns