Results 1 to 4 of 4

Thread: @Transactional not working for me =\

  1. #1
    Join Date
    Dec 2007
    Posts
    3

    Default @Transactional not working for me =\

    Hello! I Have some problems with @Transactional annotation. Method marked as transactional working without transaction support and i cand find any proxy creation logs.
    Here is code listing and Spring Trace Log: http://pastebin.com/f598d85c

    Please help me! (

    P.s.: Sry for my english ))

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,624

    Default

    Your tx:annotation-driven is loaded in another application context. Bean(Factory)PostProcessors (like the tx thing) don't work on child applicationcontexts.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  3. #3
    Join Date
    Dec 2007
    Posts
    3

    Default

    Wow! Thank's a lot

  4. #4
    Join Date
    Oct 2007
    Posts
    142

    Question Replay

    I don't understand the replay.
    Should the <tx:annotation-driven transaction-manager="txManager"/> define in the dispatcher-servlet.xml file ?

Posting Permissions

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