Less than 42 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!

Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

child records found  RSS feed

Gihan Pandigamage
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello guys,

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...
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!