Disclaimer: The test shown here may not be the best practice.
In my last post I showed a bizarre behavior of Nhibernate. Here is what I wrote,
“When we flush and commit an ISession in Nhibernate, it goes to database to flush all changes even if you just make nothing but some select...
Saturday, January 29, 2011
Wednesday, January 26, 2011
NHibernate.TransientObjectException: object references an unsaved transient instance
***Edit: please see the next post where i explained this behavior.
When we flush and commit an ISession in Nhibernate, it goes to database to flush all changes even if you just make nothing but some select queries***. Here is an experimental test case and its result: ...