Hello,
Need some advice for how I can make this work with hibernate. I have a class Address that needs to be associated as a collection in several different classes e.g: One of my class "Employee" needs a collection of "Address". Another class "Manager" needs a collection of "Address" and there are few other classes that needs Address collection.
What is the best way to associate this single class from many different classes? Also, I want only one way association from those many classes to the "Address" class - meaning, I don't want to reference back from Address class.
|