spring-transactions
How do I override the default isolation level when using the Transaction attribute in Spring.Net
When using the Transaction() attribute on a method the default isolation level is ReadCommitted.What I want to do is set the default isolation level to ReadUncommitted in the Spring.NET config ( so as[详细]
2023-04-12 12:12 分类:问答Write operations are not allowed in read-only mode (FlushMode.MANUAL):
Grails 1.3.7 We have a service method that merges 2 users.There are quite a few pieces to this because of the amount of data so that is quite a bit of reading, updating, and writing.We have transacti[详细]
2023-04-11 05:29 分类:问答Does Spring's PlatformTransactionManager require transactions to be committed in a specific order?
I am looking to retrofit our existing transaction API to use Spring’s PlatformTransactionManager, such that Spring will manage our transactions. I chained my DataSources as follows:[详细]
2023-04-06 22:36 分类:问答@Transactional annotation causing incompatible return types error on entity
I have a Restful web service developed in Spring MVC which currently returns farmer information and allows for the deletion and addition of new farmers to the database. When extending the web service[详细]
2023-04-06 04:56 分类:问答org.hibernate.HibernateException: load is not valid without active transaction
I am getting the following error while load a user data. org.hibernate.HibernateException: load is not valid without active transaction[详细]
2023-04-02 20:16 分类:问答Declarative Transaction Management in Spring behaving unpredictably
I have a Spring+Hibernate application with declarative transaction management. I have a service (FooService) which has 2 public methods MethodA and MethodB. The client will call the MethodA which in t[详细]
2023-04-02 05:14 分类:问答Spring Annotation driver Transaction with AspectJ problem
i am using AspectJ compile time weaving and spring 3.O. and Hibernate 3.0...AspectJ weaving is working fine for simple things like logging but this is not working correctly for Transaction[详细]
2023-03-31 18:08 分类:问答See all DML changes in Oracle session before committing
I\'m writing a test harness for an Oracle (10g) stored procedure. I\'m planning to use a @Transactional test to run the stored procedure, so that the transaction will be rolled back when the test ends[详细]
2023-03-19 00:41 分类:问答"no transaction is in progress" error while using @Transactional
All, I am trying to use the annotational transaction in Spring and getting the javax.persistence.TransactionRequiredException: no transaction is in progress[详细]
2023-03-16 06:19 分类:问答Can i use spring exception translation without using spring-managed-transaction?
I\'m developing with JPA 2 and Spring 3. I\'m using the @Repository for my Dao classes hoping that i could make use of the Spring exception translation.[详细]
2023-03-11 21:47 分类:问答