Hi Niru,
I think your Department class is getting default values during the object Creation.
After saving Department object try to load it again before setting into employee object then only primary key will be present.
Can a class at the same time be a Servlet and a Listener.If so how they should be described in the DD. like public class ManageSession extends HttpServlet implements HttpSessionListener{//code here}
how much time in the world is enough to complete the DavidBridgeWater book if you are intelligent with sharp memory(provided knowing the HeadFirst?) Is it a must to get good score? SCJP1.4(96.7%)
Are you made of Flesh and Blood? Please tell how you kept your cool in all these.Tension for the Voucher Expiring?Is it a good driving force on you Mr ?