0 Replies Latest reply on Sep 5, 2007 6:01 AM by yohann49

    persist and cascade

    yohann49

      Hello !!

      I have 5 entity : Customer, Order, OrderLine, Contact and ReportBinder.

      After a long conversation for subscritpion, I persist data concerning the customer and with the cascade, the order and the contact are persist, however the OrderLine and ReportBinder are not.
      Why ?

      And the other question concern the Id of the customer. The id is generated automaticaly and it's a foreign key for the order and contact. But when persisting the customer, the id is not transmitted to the order and the contact. I don't understand why ?

      If somebody can help me ?

      Yohann