0 Replies Latest reply on Apr 25, 2006 10:12 AM by simon wang

    entity bean cascade creation fail due to GenericJDBCExceptio

    simon wang Newbie

      Hi Everyone:
      When i do entity cascade persistence with OneToMany relationship,the above error occur.
      I'm a EJB 3.0 newer,can anyone tell me about what's the root cause?
      My class hierachy is like following:
      @Entiry
      abstract class A{
      ...
      }
      abstract class B extends A{
      protected List oneList;
      }
      @Entity
      public class C extends B{
      protected List twoList:
      }
      So you can see in class C there exists two OneToMany relationships.
      When i persist C with cascading ,it will raise the exception in title.
      Best Regards!
      Kingofhawks