I met with a problem while testing my project.when I'm going to delete a record from database it gives an exception "child record found "
.so this is what I want .I want to catch that exception and print "cannot delete child record found".
I'm using struts,ejb,oracle database,oracle top link to my project.
please help me I'm stuck with this
below is my session bean code
when I'm deleting a record which has a child record,It shows the "deleted" message
It doesn't throw an exception or any thing...