posted 16 years ago
Hi All,
I have a bean, which in-turn have one more bean in it. I am showing my mapping for parent bean in Hibernate. But I am not sure how to create a mapping for nested bean element.
And nested class Event is
Now here is my mapping for Person class.
If I had not Event in Person class the below mapping would have been perfect for Person class individually.
Now here is my problem, If I want to map modified Person bean(which have Event variable in it), how do I map this class for hibernate??
Please let me know, if anything is no clearly mentioned.
The Best way to predict your future is to create it - Every great individual common man