Announcement Announcement Module
Collapse
No announcement yet.
rollback problem while using spring+ibatis Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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.

    Comment


    • #3
      tried with tx advise also

      But its not working what i was expected.

      Comment

      Working...
      X