• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

transaction

 
Yi Meng
Ranch Hand
Posts: 270
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what will hapen if onMessage() in mdb with bmt does not end its transaction?
deployment error or runtime exception?
 
Mikalai Zaikin
Ranch Hand
Posts: 3371
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
bean will be deployed successfully, but rintime you'll get :
1. rollback transaction
2. LOG error to server's log-file
3. discard bean instance
note, it will not throw any exception, because there is *NO* receiver for exception.
cheers

[ December 22, 2003: Message edited by: Mikalai Zaikin ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic