Joined: Fri Jan 05, 2007 5:36 am Posts: 16
|
Hi,
I want to have one object User that contains one Profile object and one Information object.
I have some problems to understand how I should do my mapping file.
A few days ago I thought that <one-to-one> would solve my problem but I have now realised that it isn't a one-to-one relationship I need.
The reason why I need to have them in different objects is that they need to be lazy loaded. I don't want to cache unnecessary things.
So how can I do this?
Thanks in advance and sorry for my dumb questions!
|
|