Hi
 
I am trying to delete an entity Bean from a session bean by calling getting the Entity Bean reference as shown.
 
First getting the remote reference by
 
remoteRef = findByPrimaryKey(Pk pk);
 
And then i am calling the remove method as
 
remoteRef.remove();
 
But for this when i am calling from my client of session bean method of deleting an entity,it is giving the error for Pk class.
 
So pls anybody can tell me how can en entity can be deleted from session Bean by passing PrimaryKey class as the parameter.
 
Thanks in advance

Tejesh

Reply via email to