nhibernate « Transaction « Spring Q&A





1. Spring HibernateTemplate: how it deals with transactions?    stackoverflow.com

Could you explain, what happens behind the scene? Transaction management when using this template in Spring is absolutely unclear. What if I invoke 10 DAO methods that all use the same Hibernatetemplate and I ...

2. Exception Could not open Hibernate Session for transaction     stackoverflow.com

Sometime i m getting this problem in my NHibernate log .My application stops at that moment. Updated wityh data configuration. Even after successful transaction.Application connection with the database persist.in Nhibernate log it shows Nhibernate ...

3. set transaction must be first statement of transaction With Spring.Data.NHibernate12    stackoverflow.com

I am using Spring.Data.NHibernate12 on my database level.my application connection with database is not getting released.Sometime in Nhibernate log i am getting set transaction must be first statement of transaction .Setting ...

4. Fluent mappings and Spring .NET transactions not working together    stackoverflow.com

I am facing a weird problem with Fluent, NHibernate and Spring.net. My project is an ASP.NET MVC 2.0 (.net 4.0) project. I created my project based on Spring.net Nhibnernate Northwind project. I ...

5. NHibernate Spring .NET adding advice to transaction proxy    stackoverflow.com

I am using Spring .NEt and NHibernate along with ASP .NET MVC. Recently I decided to integrate transaction management with Spring. I understand spring give a way to easily integrate transation ...

6. Nhibernate + Spring.Net + Transaction + too many threads    stackoverflow.com

I am using Sping.Net 1.3.1 and Nhibernate 3.0. I use Spring's Transaction Interceptor in order to create my Transactions. I mark my Transactional methods with the Transaction Attribute. My server gets something like 20 ...

7. How to exclude method from the transaction advice?    stackoverflow.com

I have the following declaration:

  <tx:advice id="txAdvice" transaction-manager="transactionManager">
    <tx:attributes>
      <tx:method name="*"/>
    </tx:attributes>
  </tx:advice>
I wrapped of the ...

8. Tests with constraint checking errors not caught when using AbstractTransactionalSpringContextTests (rollback)    stackoverflow.com

The majority of my integration tests use spring's AbstractTransactionalSpringContextTests to do a rollback instead of commiting to the database. This works well normally but because foreign key constraints are not ...