Can anyone provide an example of what the metadata section of my
destinations should look like in a many-to-many scenario?

3 tables: patient, doctor, doctorpatient

patient can have many doctors, doctor can have many patients.

I'd like to implement lazy loading as well, only calling up doctors on
a patient when user requests it, as well as the reverse.

Here's my guess...

for destination patient:
<many-to-many property="docpatient"
destination="app.medical.docpatient" lazy="false"/> 

for destination doctor:
<many-to-many property="docpatient"
destination="app.medical.docpatient" lazy="false"/> 

for destination docpatient (do i need this?):
<many-to-one property="patient" destination="app.medical.patient"
lazy="false"/> 
<many-to-one property="doctor" destination="app.medical.doctor"
lazy="false"/> 

My mind is fried. Please help.

Vic





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to