Hi,


> This sounds interesting. Just let me make sure I got it right: I have
to create a new table t_download_supportitemI which has a m:n mappings
to 
> t_download and and one to t_document (pretty much a replacement for
t_pal_model) 

Well, I would call it t_pal_model_supportitemI, and its a replacement
for t_pal_model_document AND t_pal_model_download

> and t_pal_model has a 1:n mapping to t_pal_model_supportitemI... is
that correct?

That was the idea. OJB _should_ be able to figure it out based on the
extents and retrieve the document/download from the correct table. 


One fix (which is probably why you got confused):

> <class-descriptor class="download" table="t_download">
>   ... Field Descriptors ...
>   <collection-descriptor name="models"
>       element-class-ref="pal_model"
>       indirection-table="t_pal_model_supportitems"
<----------------
>       >
>       <fk-pointing-to-this-class column="SupportItemID"/>
>       <fk-pointing-to-element-class column="model_id"/>
>   </collection-descriptor>
> </class-descriptor>

Tell us how you get on.

Rob :)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to