Joined: Mon Oct 12, 2009 6:07 am Posts: 7
|
Hi,
I need to define a list inside the join mapping in sub-class tag but it seems that Hibernate does not allow list tag inside join..
Any ideas how to do this?
<subclass name="SwapProductJSPBean"> <join table="eb_swap_data"> <key column="trade_id" /> <property name="amortising" column="amortising" /> <!-- How to define the list below?? --> [b] <list name="streams" table="eb_streams_data"> <key column="trade_id" not-null="true"></key> <list-index column="stream_id" base="0"></list-index> <one-to-many class="AbstractStreamJSPBean" /> </list>[/b]</join> <subclass>
|
|