May 24th, 2011, 04:09 AM
synchronize and @Transactional
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
May 24th, 2011, 06:35 AM
No there isn't a problem if you configure your transactions correctly. I suggest a read on transactions and especially why they exists...
May 24th, 2011, 06:53 AM
I thought so, I simply was a little bit confused (reading too much informations ) thank you!