I have a DAO that makes a request from Session but watching the
database with SQL Profiler no request occurs and my object obviously
doesn't get hydrated.
ICriteria criteria = Session.CreateCriteria(typeof(T))
.Add(Restrictions.Eq("myprop", request.MyProp));
return criteria.UniqueResult() as T;
I never get an error in the code above and watching the Session object
the connection is open. I've used the same configuration in other
projects and it works fine. Trying to figure out how to debug this
issue. THanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---