Fan wrote:
I am doing a club reservation system using Appfuse 2.0m5 struts basic.
I have two POJO:
1) Club
2) Facility
the relationship of them is, one Club can have many Facilities, apparently
it's one-to-many relationship
Can a Facility host more than one Club? In that case you've got a
many-to-many relationship.
If there's added information related to that association (like whether
that club has a key to that facility, or has restrictions about when
they can use it, or a fee structure specific to that club), then instead
may want to have another object containing this relationship-specific
information and which has many-to-one relationships with both Club and
Facility.
-Dale
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]