Hi ! I am trying out the Customer and Account beans ( Entity CMP 2.0 with relationship ) and i have inserted <cascade-delete/> on Account side of the relationship in ejb-jar.xml, where customer and account have 1:* relationship. I tried out the example in WLS 6.1 with cloudscape (as well as oracle) and the PROBLEM here is the Account db row does NOT get deleted when the corresponding Ccustomer row is deleted. I have associated 3 Accounts with 1 Customer and i call remove() on my customer, i find that ejbremove() DOES get called on all the corresponding 3 Account beans before ejbremove() gets called on the customer itself, and i dont get any exception here. But the PROBLEM is, despite ejbremove() getting called on Account bean, the DB rows which represent the Account do NOT get deleted. Can anyone help me out plz ? Thanx in advance.
posted 13 years ago
Sounds like a WebLogic issue so lets put it in the WebLogic forum.