1 Reply Latest reply on Oct 12, 2004 6:36 PM by Peter Agar

    JBoss 3.2.3 -> 3.2.5 Referential Integrity

    Peter Agar Newbie

      Hi

      Im pretty new with all of this so I'm sorry if I'm not making myself clear, I'll do my best.

      Basically, I have two CMP 2.x entity beans - lets say they are Customer and Order. Order has a unidirectional relationship to Customer. Lets say I create a Customer and then I create an Order with a reference to that Customer.

      Previously I was using 3.2.3, and in that version I could delete ("remove") my Customer without first deleting my Order.

      I have just upgraded to 3.2.5 and now I cannot delete my Customer until I have deleted any orders that refer to it.

      Does this mean 3.2.5 now supports referential integrity, whereas it was not support in 3.2.3? Or is this just some setting somewhere?

      I would appreciate any information anyone could give me or point me to on this subject. I have searched throught the change logs but I don't understand most of it and I don't really know what I am looking for.

      If you need any more details on my setup, I'll be happy to provide them - just ask.