1. Spring - Transaction Readonly stackoverflow.comJust wanted your expert opinions on declarative transaction management for Spring. Here is my setup:
|
2. Why "@Transactional" on a service method with "readOnly=true" on it's class? forum.springsource.orgWhy "@Transactional" on a service method with "readOnly=true" on it's class? Hello, I use Spring Data JPA and it works like a charm for me, reducing the amount of code significantly. ... |
3. Hibernate Transaction Manager commiting a readonly transaction forum.springsource.orgSep 19th, 2011, 01:59 PM #1 jbodduna View Profile View Forum Posts Private Message Junior Member Join Date May 2009 Posts 3 Hibernate Transaction Manager commiting a readonly transaction I am ... |
4. Possible bug in Spring 2.0rc1 .. transaction always commits even if marked readOnly forum.springsource.orgJul 4th, 2006, 05:31 AM #1 Colin Yates View Profile View Forum Posts Private Message Senior Member Join Date Aug 2004 Posts 1,905 Possible bug in Spring 2.0rc1 .. transaction always ... |
5. Problem with readOnly transactions forum.springsource.orgProblem with readOnly transactions Hello. I am trying to flush a HibernateTemplate , but I get: ERROR [http-9090-Processor25] ActionExceptionHandler.logException(147) | org.springframework.dao.InvalidDataAccessApiUsageE xception: Write operations are not allowed in read-only mode (FlushMode.NEVER) ... |
6. Info Help: mark as ReadOnly transaction vs mark as no transaction vs no marking forum.springsource.orgwhat is the difference if i mark a function to be a "read only transaction" and not marking it as a transaction or marking it as no-transaction. my understanding is that ... |
7. Problems with @Transactional( readonly=true ) with jpaDaoSupport forum.springsource.orgProblems with @Transactional( readonly=true ) with jpaDaoSupport Hi! I've got a simple dao which extends JpaDaoSupport (using openJpa). All is swell and it works - it only does a select - ... |
8. @Transactional and readOnly forum.springsource.orgHello If I mark a method as: @Transactional(readOnly = true) and it calls another method marked as: @Transactional then the called method will continue to run in the existing transaction. However, ... |
9. @transactional readOnly and propagation support forum.springsource.orgHi i have already posted this question but i came in mind and asked for people's opinion about making the adding Code: @transactional(readOnly=true, propagation=Propagation.SUPPORTS) to all my getters. The benefit is ... |
10. Jpa transaction neeeds Propagation.SUPPORTS for readOnly=true? forum.springsource.orgJpa transaction neeeds Propagation.SUPPORTS for readOnly=true? I have the following that works fine in a jee jta transaction @Override @Transactional(readOnly = true) public Person getPerson(Long id) { return entityManager.find(Person.class, id); } ... |
11. @Transactional(readOnly=true) does not set conn.setReadOnly(true) forum.springsource.org@Transactional(readOnly=true) does not set conn.setReadOnly(true) I need this so that I can use mysql replication driver. By setting conn.setReadOnly(true) the driver will read from a slave db ( configured in the ... |
12. ReadOnly transactions - still transactions are created ? forum.springsource.orgReadOnly transactions - still transactions are created ? Hi All, I'm a little new to transactions but decided to attempt to do a little application tuning.. I'm using JPA / Hibernate ... |
13. readonly in transaction forum.springsource.orgWhat do you think? When marking a transaction as readonly hibernate ignores changes and doesn't do change detection on objects (or at least less eager as it normally does). |
14. @Transactional and readOnly propagation forum.springsource.org@Transactional and readOnly propagation Hi, I'm using Spring, Hibernate, AspectJ and HibernateTransactionManager. I have a method tagged with @Transactional(readOnly=true) which calls another method which has @Transactional(readOnly=false). I was expecting that Hibernate ... |
15. possible to enforce readonly transactions? forum.springsource.orgpossible to enforce readonly transactions? Hi, I'm using JPA with Hibernate 3, and Spring 2.5.6 for annotating transaction boundaries on my service objects (which then use my JPA DAOs). I've noticed ... |
16. Unexpected update for readonly transaction forum.springsource.orgMar 5th, 2010, 12:24 PM #1 zhangyongjiang View Profile View Forum Posts Private Message Junior Member Join Date Oct 2008 Posts 3 Unexpected update for readonly transaction Hi, I use Spring ... |
17. Why @Transactional(readOnly=true)? forum.springsource.orgIn some cases Spring can configure the underlying layer for better performance when a transaction is declared as read-only. When you use Hibernate for example, it sets the flush mode to ... |
18. Update in ReadOnly Transaction forum.springsource.orgHi. say we have this method |
19. Hibernate readOnly transactions forum.springsource.orgHibernate readOnly transactions I'm using amixture of Hibernate and JCA data sources in a project, and I'm looking at implementing some query functions to the Hibernate Data Source as read-only transactions. ... |