nhibernate « Transaction « JPA Q&A





1. Hibernate session / transaction design    stackoverflow.com

I'm trying to figure out how to best use Sessions in (N)Hibernate. I have a C# remoting object (MarshalByRefObject) which gets consumed by an ASP.NET client. Currently my remoting class opens up ...

2. Hibernate optimistic locking..how it works?    stackoverflow.com

I was reading the below blog about hibernate optimistic locking. I am planning to use it with hibernate. But, I have one concern. we have java code and c++ code, both ...

3. what will happened if i dont call transaction.close or transaction.rollback?    stackoverflow.com

In the begin of the unit of work i call to session.BeginTransdaction I noticed that even if no changes where done to the DB during the transaction the commit is still expensive. what ...

4. Crash when updating in NHibernate 3.1    stackoverflow.com

I am writing project and using NHibernate 3.1 SimpleTest:

        IUserRepository userRepository = new UserRepository(SessionFactory);
        var admin = userRepository.GetByName("admin");
 ...