EdRoman Container Managed Persistense (Product) Example

Discussions

EJB programming & troubleshooting: EdRoman Container Managed Persistense (Product) Example

  1. I have successfully deployed and run Session Beans from EdRoman Book. I have a problem with Entity Beans. When I compile with weblogic.ejbc it's giving "In EJB xxx, the home interface must define the findByPrimaryKey method"
    But I am sure everything is alright with the Home Interface code. What could be the problem?
  2. This is problem with u r Deployment Descriptor, have a look at the this line <prim-key>....</prim-key> in u r deployement descriptor, it should contain the type of the parameter to the Primary Key.

    cheers
    sumanth