Unbounded resultset warnings with new sql server paging syntax

35 views
Skip to first unread message

DanPlaskon

unread,
Jun 11, 2014, 2:02:27 PM6/11/14
to nhp...@googlegroups.com
I'm running some raw SQL queries via nhibernate and NHProf gives "unbounded resultset" warnings when using the new paging syntax introduced in SQL Server 2012+

For example:

select *
from foo
order by foo.name
offset 0 /* @p0 */ rows fetch next 250 /* @p1 */ rows only

Generates an "unbounded resultset" warning, even though we are limiting it to 250 records.

Fitzchak Yitzchaki

unread,
Jun 12, 2014, 2:28:09 AM6/12/14
to nhp...@googlegroups.com

Best Regards,

Fitzchak Yitzchaki

Hibernating Rhinos Core Team





--
You received this message because you are subscribed to the Google Groups "nhprof" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nhprof+un...@googlegroups.com.
To post to this group, send email to nhp...@googlegroups.com.
Visit this group at http://groups.google.com/group/nhprof.
For more options, visit https://groups.google.com/d/optout.

DanPlaskon

unread,
Aug 25, 2014, 10:40:53 AM8/25/14
to nhp...@googlegroups.com
Is there any update on this? 

I know it was slated for Version 3 of the profilers (perhaps coming soon?) - but with NHibernate 4 just being released, hql/linq queries now using this paging syntax by default. This is causing quite a few incorrect warnings to be raised by the profiler now.

Oren Eini (Ayende Rahien)

unread,
Aug 26, 2014, 3:44:43 AM8/26/14
to nhprof
We hope to have a beta for 3.0 in the next 3 - 6 weeks.
It will contain support for this as well.
For the 2.x release, the workaround is to use the 2008 syntax for now.



Oren Eini

CEO


Mobile: + 972-52-548-6969

Office:  + 972-4-622-7811

Fax:      + 972-153-4622-7811



DanPlaskon

unread,
Aug 27, 2014, 1:42:22 PM8/27/14
to nhp...@googlegroups.com
Fair enough - please hit me up if/when you need Beta testers!
Reply all
Reply to author
Forward
0 new messages