list-index hibernate ?

Posted by kumar kasimala on Stack Overflow See other posts from Stack Overflow or by kumar kasimala
Published on 2010-06-10T08:47:25Z Indexed on 2010/06/10 8:53 UTC
Read the original article Hit count: 350

Filed under:

Hi

I am bit confusion of list index type,my mapping file has like below

<list name="transactionItems" cascade="save-update,delete-orphan" lazy="false"> <key column="TRANSACTION_ID" /> <list-index column="IDX" /> <one-to-many class="TransactionItem" /> </list>

whenever hibernate load a mapped object,its through exception null index column for collection:transactionItems please suggest me what can be the problem here. can you exaplain a bit about list-index?

thanks & Regards kumar kasiamla India,Hyderabad.

© Stack Overflow or respective owner

Related posts about hibernate