One of my DB repository methods is now throwing: System.NotSupportedException: Dialect does not support variable limits. at NHibernate.Dialect.Dialect.GetLimitString(SqlString queryString, Nullable`1 offset, Nullable`1 limit, Parameter offsetParameter, Parameter limitParameter) at NHibernate.Hql.Ast.ANTLR.SqlGenerator.GetSqlStringWithLimitsIfNeeded(QueryWriter queryWriter) at NHibernate.Hql.Ast.ANTLR.SqlGenerator.EndQuery() at NHibernate.Hql.Ast.ANTLR.SqlGenerator.selectStatement() at NHibernate.Hql.Ast.ANTLR.SqlGenerator.statement() at NHibernate.Hql.Ast.ANTLR.HqlSqlGenerator.Generate() . . .
I have noticed this comment on the source: Removed all but one Dialect GetLimitString method. (Breaking Change) Various limit-related simplifications, bug fixes, and improvements. And see this change: - public override SqlString GetLimitString(SqlString querySqlString, int offset, int limit, int? offsetParameterIndex, int? limitParameterIndex) + public override SqlString GetLimitString(SqlString querySqlString, SqlString offset, SqlString limit) Is this an NHibernate bug? is there away around this? -- You received this message because you are subscribed to the Google Groups "nhusers" group. To view this discussion on the web visit https://groups.google.com/d/msg/nhusers/-/jBNDBRLhiWgJ. 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.
