0 Replies Latest reply on May 8, 2003 7:42 AM by menza

    Probs with entity bean

    menza Newbie

      Hi, I followed the changes EHenne suggested in this forum for adapting the pet store:
      This is my problem:
      . [ObjectName: jboss.j2ee:jndiName=local/CreditCardEJB,service=EJB
      state: FAILED
      I Depend On:
      Depends On Me: org.jboss.deployment.DeploymentException: Local home interface does not have the method findByPrimaryKey(java.lang.Object)]

      Second problem When I try to populate the store I get::
      javax.ejb.CreateException: Could not create entity:java.sql.SQLException: Try to insert null into a non-nullable column in statement [INSERT INTO ADDRESSEJB (id, zipCode, state, streetName2, streetName1, country, city, ContactInfoEJB_address) VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL)]

      Any help appreciated.

      Alex