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 ?