Joined: Wed Oct 15, 2008 12:43 pm Posts: 4
|
I have two views Customer and City with m:m relationship and there are no ids because they are views.
Both views can be joined on Customer.customerNummber = City.customerNummber
Customer
customerNummber
customerName
City
cityName
customerNummber
One city can have several customers and one customer can have several cities. This can be found in City view.
Can anybody suggest how the hbm files should be, and query to get all the customers with a given cityName.
I am using Spring 2.5 and Hibernate 3.0
|
|