Results 1 to 3 of 3

Thread: rollback problem while using spring+ibatis

  1. #1
    Join Date
    Apr 2009
    Posts
    3

    Default rollback problem while using spring+ibatis

    Hi

    I am loading loading ibatis config xml using spring sqlmap client.

    Also configured my beans dao/dto in the spring xml.

    From my service layer I am getting the objects from spring container and doing some database operations . Any exception I need to rollback the data.

    How do that ? Any suggestins?

    I tried googl and not clear what to do.

    thanks
    bala

  2. #2

    Default We use AOP...

    See here:
    http://static.springframework.org/sp...on-declarative

    for how you do it.
    The advice should be for your service layer methods - works a treat.

  3. #3
    Join Date
    Apr 2009
    Posts
    3

    Default tried with tx advise also

    But its not working what i was expected.

Posting Permissions

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