nhibernate/nhibernate-core — pull request #40 by ggeurts (2011-12-22 11:53:25+00:00)
Title: NH-2977: Fixes in generation of limit queries for custom SQL Server statements

Includes rewrite of NHibernate.Command.SqlString class to execute operations in constant time O(1) rather than linear time O(n) where possible.

Introduces the NHibernate.Command.SqlTokenizer and NHibernate.Command.SqlToken classes to support the tokenization of SqlString instances and improve analysis of SELECT queries that are not generated by NHibernate itself.