Need to reconcile changes to MsSql2005DialectQueryPager for NH-2977 between 3.3.3 and vNext

Description

See nhusers thread here: https://groups.google.com/forum/?fromgroups=#!topic/nhusers/xJ675yG2uhY

There is a large change that's over 5 months old for which is on master but not on the 3.x.x branches. Presumably, this was not included in 3.x.x for a reason but it is a blocker for my project as our DBAs were counting on autoComment as a bridge from using named sprocs for CRUD operations. This change radically changes the entire MsSql2005DialectQueryPager.cs class in what appears to be a positive way. Unfortunately, because the change is fairly large and is such a major refactor it's tough to pull into a custom dialect and I don't want to cherry-pick it (which appears to be non-trivial) without some assurance that it's ultimately going to be pulled into a release. Could someone either pull it into a 3.x branch or add a comment to explaining why it's been held out? I can create a pull request for the move if that makes sense but obviously we don't want to if there's a fundamental problem with the code that led to its omission.

Environment

None

Activity

Oskar Berggren 
August 16, 2014 at 11:39 PM

The fix for and some related changes merged to 3.4.x in 5ca5ffe393e890eaaf93435931cbef41f5eb325f.

Evan Schnell 
May 9, 2013 at 1:44 PM

Would it be possible to get a status on this? which is a newer issue was accepted by hazzik into 3.3.x last night.

Evan Schnell 
March 11, 2013 at 9:45 PM

Thank you. I created a branch in my fork based on the 3.3.3.CR1 tag. This includes the code I was referring to under this commit: https://github.com/amhest/nhibernate-core/commit/54fb94746c338135b6d2204f244e41c2e5e58111 If you like I can create a pull request once you are ready.

I wound up having to cherry-pick two commits (27e0f269c08cdd71f753f8d4d14ee542a4294aef () and bd01c71952c16f8ae9ca0b5f0ab74cedf12fa2e1 ()). The commit comment isn't quite right. I also added two additional unit tests.

Oskar Berggren 
March 10, 2013 at 9:20 AM

I would prefer to avoid more changes to 3.3.3 except regression fixes - it's been too long already.

If you submit code, we can consider a simple change for a tentative 3.3.4 or 3.4. (And you can use the simple fix in a private branch temporarily.) I you want to port the bigger patch, we could maybe have it in a 3.4. (Nothing has been decided, but there seems to be more and more reasons to do a 3.4 for those not ready for Net4.0.)

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Who's Looking?

Open Who's Looking?
Created March 4, 2013 at 6:18 PM
Updated September 21, 2014 at 12:44 PM
Resolved August 16, 2014 at 11:39 PM
Who's Looking?