Hi Mark Sorry I don't understand what is wrong with my FK's?
Also, this sentence doesn't make sense: So maybe stick with an order knowing about a user, and a user could have infinite orders, and that could cause performance issues. Cheers Matthew On Jun 1, 11:18 am, Mark Mandel <[email protected]> wrote: > Oh I see it now, you have used the Foreign key 'userid' twice. You can only > use it once. > > So maybe stick with an order knowing about a user, and a user could have > infinite orders, and that could cause performance issues. > > Mark > > > > On Mon, Jun 1, 2009 at 9:48 AM, Matthew <[email protected]> wrote: > > <object name="User" table="testUser"> > > <id name="userId" type="numeric"></id> > > <property name="firstName" type="string" /> > > <onetomany name="Orders" lazy="true"> > > <link to="Order" column="userId" /> > > <collection type="array"></collection> > > </onetomany> > > </object> > > <object name="Order" table="testOrder"> > > <id name="orderId" type="numeric"></id> > > <property name="userId" type="numeric" /> > > <property name="totalPrice" type="numeric" /> > > <property name="deliveryName" type="string" /> > > <manytoone name="OrderUser"> > > <link to="User" column="userId" /> > > </manytoone> > > </object> > > -- > E: [email protected] > W:www.compoundtheory.com --~--~---------~--~----~------------~-------~--~----~ Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer You received this message because you are subscribed to the Google Groups "transfer-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/transfer-dev?hl=en -~----------~----~----~----~------~----~------~--~---
