[NHibernate-development] [hibernate-dev] Connection release modes

Sergey Koshcheyev sergey.koshcheyev at jboss.com
Wed Dec 13 12:34:31 EST 2006


Steve Ebersole wrote:
> How did that lead to a discussion of connection release modes ;)

Err, it was the other way around :) a discussion of connection release
modes led to this. I'm trying to understand what the code does in
Hibernate to be able to port it to NHibernate.

> Mmm, I'd have to look through the code; *but* a load & lock operation
> makes no sense in an auto-commit scenario; so I'd assume it has to do
> with that...

Does refresh(Object) make sense in auto-commit? It doesn't call
afterOperation either.

Sergey



More information about the hibernate-dev mailing list