Re: [appfuse-user] Advice for Hibernate mapping

2007-08-13 Thread Fan
Nope, facility cant host more than one club. I want to make the relationship between club and facility as one-to-many. Now my concern is how does FacilityFee fit into the relationship between club and facility. One facility should have many facilityFee structure, if that's the case, should not

Re: [appfuse-user] Advice for Hibernate mapping

2007-08-12 Thread Dale Newfield
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

[appfuse-user] Advice for Hibernate mapping

2007-08-12 Thread Fan
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 Now, when it comes to the booking of the Facility, the facility should have diffe