1) Bad karma to access the EM from within the entity class.
2) Your relationship is not properly mapped. Try this:
3. You should probably set the id in employee to not be generated so you can assign it when you create one and then use the assigned id value to find it later on. Otherwise you won't know what id value got assigned to the employee unless you hold on to it, etc.