Furthermore, we were seeing errors on the line following the code that called this item that said "error executing multi-criteria query," just in case anyone sees similar issues.
On Dec 16, 2:07 pm, tjans <[email protected]> wrote: > I'm getting the following error running a simple call: > [AssertionFailure: Interceptor.OnPrepareStatement(SqlString) returned > null or empty SqlString.] > > I have been spinning my wheels on this for a day and a half. I'm > fairly new to nhibernate (not new to programming). I normally would > use nhprof to analyze this, but the exception is thrown before > anything is logged in nhfprof. I can't seem to figure out what I'm > doing wrong, modeled this after some existing code within our company > and feel like I must have missed a step, but my mapping files and code > all look right to me. When I use the following code: > > public IEnumerable<ParentObjectChildObjectMap> > FetchAllNotDeletedBy(ParentObject parentObject) > { > return FindNotDeletedBy(x => x.ParentObject == > parentObject) > .Fetch(x => x.ParentObject).Eager > .Future(); > } > > I'm not even sure where to begin debugging this, so I'm hoping that > some of you might have seen this before... -- 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.
