Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Persister
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv963/NHibernate/Persister
Modified Files:
EntityPersister.cs
Log Message:
Removed commented out code.
Index: EntityPersister.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Persister/EntityPersister.cs,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** EntityPersister.cs 14 Sep 2004 17:49:56 -0000 1.28
--- EntityPersister.cs 15 Sep 2004 13:19:44 -0000 1.29
***************
*** 727,743 ****
}
- // IDataReader rs = st.ExecuteReader();
reader = session.Batcher.ExecuteReader( st );
! // try
! // {
! if ( reader.Read()==false )
! {
! throw new StaleObjectStateException( MappedClass, id);
! }
! // }
! // finally
! // {
! // rs.Close();
! // }
}
//TODO: add something to catch a sql exception and log it here
--- 727,736 ----
}
reader = session.Batcher.ExecuteReader( st );
!
! if ( reader.Read()==false )
! {
! throw new StaleObjectStateException( MappedClass, id);
! }
}
//TODO: add something to catch a sql exception and log it here
|