You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Henno Vermeulen <he...@huizemolenaar.nl> on 2012/09/25 18:25:56 UTC
effect of read-only transactions with Spring on sql-server
I am using OpenJPA on sql server and manage my transactions with Spring @Transactional annotations. I am using the default transaction isolation of read committed.
What is the effect of using "@Transactional(readOnly = true)" on methods that use an entitymanager to run queries that do not update/insert anything? Or will there be no difference with "@Transactional"?