Results 1 to 4 of 4
  1. #1
    jack239 is offline Member
    Join Date
    Jul 2008
    Posts
    35
    Rep Power
    0

    Default setRollbackOnly problem

    I have one ejb bean method where in the catch section I am mentioning setRollbackOnly. Now if I throw a new custom exception from the method setRollbackOnly is getting executed.
    New to Java/PHP/Javascript development?
    For free help go to- www.techcubetalk.com

  2. #2
    jack239 is offline Member
    Join Date
    Jul 2008
    Posts
    35
    Rep Power
    0

    Default

    Is there any way to get rid of that?
    Any help will be appreciated.
    New to Java/PHP/Javascript development?
    For free help go to- www.techcubetalk.com

  3. #3
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    7

    Default

    Can u put that part of code and then exactly specify what is the problem you are facing...
    To finish sooner, take your own time....
    Nivedithaaaa

  4. #4
    mtv134 is offline Member
    Join Date
    Aug 2008
    Posts
    22
    Rep Power
    0

    Default

    setroolabackonly will only rollback the transaction and will neglect any compensation code u provide
    visit http://www.thejavacode.com
    Muhammad Safwat

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •