• Post Reply Bookmark Topic Watch Topic
  • New Topic

Handling SQLExceptions in java ..Urgent  RSS feed

 
Venkataramu Pendiyala
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a database trigger in oracle. When I call setXXX() of CMP on my table the trigger is implicitly fired . But When I run my application which is calling above CMP I am getting TransactionRolledBackException. Pls guide me how to handle database failures such as improper triggrr,SQLExceptions in my java code.
Is it that Java does not handle all of the trigger related exceptions?
Is it because of the EJBs whose internal functionality is unknown to the application?
Would appreciate quick reply
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!