sorry for re-posting, but i still looking for an answer!
i have some problems using the hibernate.map xdoclet tags:
one example:
i have 2 objects:
Person and Address
every Address has a type (home, business, ...)
each Person can have many different Addresses but only one with a given type. i want to use a hash map inside the person:
key of the hashmap is the adress-type and the value the complete Address object.
can someone send me a sample how to do this with xdoclet for hibernate?
many, many thanx in advance,
blip
|