Hi,
Iam able to achieve Employee manager relationship by creating Employee object First and then adding the manager Object to it and getting both objects persisted the right way.
refer post:
http://forum.hibernate.org/viewtopic.php?t=954771
But I need to create the manager Object first and add employees to the manager object and get them persisted.
I should only give session.save(Manager) instead of session.save(Employee).
Is there any specific changes I need to make to the hbm file for this?
I tried it and was not able to achieve it.
I don't know if this question is really dumb. :-(