On 15 Dec (08:17), Konstantin Priblouda wrote:
> Suppose I try to implement following:
>
> Address -> Country.
>
> Both are persistent. Address belongs to
> country. How do I implement this using hibernate?
> Use country_id property in Address?
> Set constraint on it?
This could be mapped in
Hi all,
Suppose I try to implement following:
Address -> Country.
Both are persistent. Address belongs to
country. How do I implement this using hibernate?
Use country_id property in Address?
Set constraint on it?
What are proper hibernate mappings?
regards,
=
Konstantin Priblouda ( ko5