Joined: Mon Dec 01, 2003 7:00 am Posts: 16
|
Hi,
I have downloaded "hibernate-2.1final.zip" after extracting jar file and appling to my hbm files .
My hbm looks like this : -
<class name="TCx1PtsiteT" proxy="TCx1PtsiteT" table="T_CX1_PtSite_T">
<composite-id>
<key-many-to-one name="tcx1PatientT" class="TCx1PatientT">
<column name="PatID" />
</key-many-to-one>
<key-many-to-one name="tcx1ParticipantM" class="TCx1ParticipantM">
<column name="Participant_ID" />
</key-many-to-one>
</composite-id>
</class>
It give me following Exception :-
INFO: Mapping class: com.ge.med.registries.acc_30.hibernate.TCx1PtsiteT -> T_CX1_PtSite_T
Exception in thread "main" java.lang.NullPointerException
since it contain compoiste-id .
whether this is BUG ...
|
|