3 Replies Latest reply on Feb 9, 2006 12:02 AM by Gus Gu

    Urgent help!!!

    Gus Gu Expert

      Hi

      I recently got a very boring problem. I use JSF and EJB3. A super entity bean A, and sub entity bean B extends A. When I submit data from JSF page to the B (throug a manage session bean), it works. However, when I submit data from JSF page to the A, I always get the "Error during model data update." errors on each field. I struggled several days, but I still did not get anwser(I am new on EJB). I sincerely appreciate any helps. Thank you in advance.

      GUS

      ============================================
      @Entity
      @Table(name="a")
      @Inheritance(strategy = InheritanceType.JOINED)
      public class A implements Serializable {
      }

      @Entity
      @Table(name="b")
      @Inheritance(strategy = InheritanceType.JOINED)
      public class B extends A {
      }