Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Data.NHibernate/Data/NHibernate
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv15447
Modified Files:
HibernateTemplate.cs
Log Message:
SPRNET-853 - Throw HibernateSystemException (part of Spring's DAO exception hierarchy) when can not translate inner exception in NHibernate.ADOException
Index: HibernateTemplate.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Data.NHibernate/Data/NHibernate/HibernateTemplate.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** HibernateTemplate.cs 19 Sep 2007 22:58:22 -0000 1.2
--- HibernateTemplate.cs 24 Jan 2008 17:29:16 -0000 1.3
***************
*** 924,929 ****
else
{
! // Callback code throw application exception or other non DB related exception.
! throw;
}
}
--- 924,928 ----
else
{
! throw new HibernateSystemException(ex);
}
}
|