Hi all I have a EntityBean(Bean Managed) which calls a method on the Entity Context to get me a primary key in my ejbLoad() method, but it returns a null which causes my load to fail. Below is the code snippet
/********** AccountPK pk=(AccountPK) _ctx.getPrimaryKey(); String id=pk.accountID; System.out.println("got id from context"+id);
*/ even the System.out.println doesnot print the accountID which is the primary key.
Is there any configuration necessary to make the context object aware of my primary key?
All advice and help would help me a lot. Thanx in advance regards Hemanth