Many, to not say all, NH actions end in a ADO.NET callSaying "I
have NHibernate.ADOException" and say nothing is the same.
When we ask for code send something like
Func1(ObjId)
{....
Func2(ObjId)
.....
}

Func2(ObjId)
{....
Func3(ObjId)
.....
}

Func2(ObjId)
{
....

if(NHFunc(parameter1))
....
 if(NHFunc(parameter2))
     ............
.....

}

if extremal clear to find the possible cause.
We may help you, or not, but please don't ask us to read your mind.

We done what is possible, we are working to do the impossible but don't ask
us to do miracles.

2009/8/19 NHibernate1 <[email protected]>

>
> Hi Fabio ,
>
> The problem is when i try to get data from the database using
> NHibernate Criteria from a table at times i am getting the error as
> mentioned below.
>
> Connection must be open for this operation
> The inner exception is:
> An exception of type 'NHibernate.ADOException' occurred in method
> 'DoList' of class 'Loader'
>
> I want to know what vcould be the possible situations where i can get
> this type of exception. Above code i tried to show how i am using
> NHibernate in my application.
>
> If i know what could be the possiblities for getting this exception
> will help me in figuring out how to solve this issue .
>
> >
>


-- 
Fabio Maulo

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to