We are facing database connectivity issue with NHibernate.
Can we invoke NHibernate reinitialize from GUI?
Can we write some code for NHibernate to auto-recover the connections?
We gave a code in place (written below), but not sure why it is not working.
Error details:
NHibernate.ADOException: Could not close
Oracle.DataAccess.Client.OracleConnection connection --->
Oracle.DataAccess.Client.OracleException ORA-03114: not connected to ORACLE
at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32
errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx*
pOpoSqlValCtx, Object src, String procedure, Boolean bCheck)
if (sl != null && (!sl.IsOpen || sl.Connection.State == System.Data.
ConnectionState.Closed)))
{
if (getSessionFactory(name, out sf))
{
sf.OpenSession();
}
}
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.