0 Replies Latest reply on Sep 6, 2002 5:00 PM by David Li

    Internal error setting field in EJB

    David Li Newbie

      Hi all, I got an error when I am accessing an entity bean.
      It seems like a case when I called findbyprimarykey method to get the bean, and only with the fields are nullable in the database. I am just wonder is there a configuration I need to do to tell the bean that particular fields are nullable?

      here is the case:
      DB2, EJB 1.1, JBOSS3.0.1
      field mapped in jbosscmp-jdbc.xml and ejb-jar.xml
      field casing error are nullable field and when I manually updated the database, the problem is gone.
      following is the error msg:
      javax.ejb.EJBException: Internal error setting instance field profileMaxAdd; CausedByException is:

      Any tips or helps will be thankful..

      Best regards,

      David Li