Results 1 to 3 of 3

Thread: synchronize and @Transactional

  1. #1
    Join Date
    May 2010
    Posts
    318

    Default synchronize and @Transactional

    Hello,

    one (maybe stupid) question, but Im a little bit confused:
    The access to a method annotated with @Transactional does not have to be synchronized, doesnt it? Are @transactional methods automatically synchronized? I mean otherwise there would be problems with the database, wouldnt it?

    thanks for clarifying it

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

    Default

    No there isn't a problem if you configure your transactions correctly. I suggest a read on transactions and especially why they exists...
    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
    May 2010
    Posts
    318

    Default

    I thought so, I simply was a little bit confused (reading too much informations ) thank you!

Posting Permissions

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