I got trunk version of NH and FNH. When i try to add 2nd level cache, some parts of NHibernate forgets about chosen sqldialect.
Initial configuration:
Just as i predicted - unbounding select is acceptable workaround.
Deleted SetMaxResults and it works.
SetMaxResults