Query executed twice on session with enabled Filter will cause NullReferenceException
Description
Environment
None
Attachments
1
Activity
Show:

Jozef Sevcik May 14, 2009 at 10:50 AM
Fantastic..thanks Fabio !

Fabio Maulo May 14, 2009 at 9:27 AM
Test commited
Fixed
Details
Details
Assignee
Unassigned
UnassignedReporter

Components
Fix versions
Affects versions
Priority
Who's Looking?
Open Who's Looking?
Created May 14, 2009 at 7:54 AM
Updated July 22, 2009 at 7:21 AM
Resolved May 14, 2009 at 10:41 AM
Who's Looking?
Attached testcase will fail with both classic and AST parser.
Calling ExecQuery() for the second time will cause NullReferenceException in NHibernate.Loader.Loader.ConvertITypesToSqlTypes().
Calling ExecQuery only once will pass test without exception.