Re: Hibernate -- what does this exception mean??



Problem solved!!

It was the 'composite key' issue! The following clippet of XML fixed
the problem:

<class
name="com.cibc.gdp.tecp.envoy.audit.persistence.PostProcessResults"
table="ARCHIVE_CHEQUE">
<composite-id>
<key-property name="prior_event_id" column="EVENT_ID"/>
<key-property name="archive_cheque_id" column="ARCHIVE_CHEQUE_ID"/>
</composite-id>
<property name="account_number" column="ACC_NMBR" />
<property name="cheque_amount" column="CHEQUE_AMT" />
<property name="transaction_code" column="TRANSACTION_CODE" />
<property name="bank_number" column="BANK_NMBR" />
<property name="transit_number" column="TRANSIT_NMBR" />
</class>

Thanks to everyone who replied!

Cheers, Alex.

.



Relevant Pages