openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henno Vermeulen <>
Subject effect of read-only transactions with Spring on sql-server
Date Tue, 25 Sep 2012 16:25:56 GMT
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"?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message