Re: Hibernate -- what does this exception mean??
- From: "amatijaca@xxxxxxxxx" <amatijaca@xxxxxxxxx>
- Date: 23 Jun 2005 12:34:44 -0700
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.
.
- Follow-Ups:
- Re: Hibernate -- what does this exception mean??
- From: Georg J. Stach
- Re: Hibernate -- what does this exception mean??
- References:
- Hibernate -- what does this exception mean??
- From: amatijaca@xxxxxxxxx
- Re: Hibernate -- what does this exception mean??
- From: Georg J. Stach
- Re: Hibernate -- what does this exception mean??
- From: amatijaca@xxxxxxxxx
- Hibernate -- what does this exception mean??
- Prev by Date: Re: Hibernate -- what does this exception mean??
- Next by Date: Re: Strange behaviour of preparedStatement VS Statement
- Previous by thread: Re: Hibernate -- what does this exception mean??
- Next by thread: Re: Hibernate -- what does this exception mean??
- Index(es):
Relevant Pages
|
|