WilsonORMapper v4.2.1 Released -- Includes Sql2005 Row_Number Paging

Update: WilsonORMapper v4.2.1.0 (1/24/2006) includes the following:    
  • Sql2005 Provider for Efficient Paging with Row_Number
  • More Lookup cases using Outer Join now Supported
  • ObjectQuery has SkipCounts option for Performance
  • Multiple optimizations with the help of Marc Brooks
Marc Brooks also provided the following new features:
  • Auto keyType can be Composite with the last being Auto
  • DefaultNamespace can be defined in each mapping file
  • DateTime provider-specific min/max for db compatibility
  • Bug-Fix: Non-Lazy-Loaded Generic (v2.0) Collections
  • Bug-Fix: Transactions with specified IsolationLevel
  • Bug-Fix: Empty Byte Arrays work with nullValue="[]"
  • Bug-Fix: A few OPath fixes included by Jeff Lanning
I would also like to say a great big THANK YOU to some other unnamed people that just go out of their way to help me, whether it be a simple but personal note of appreciation, an extra monetary donation, or help with extending the code and testing things -- you know who you are.  I would also like to say THANK YOU to my current client for allowing me to work on some of my own projects at times, and for right now being so very understanding and appreciative of the many extra hours I've put in that have really added up here lately.
Published Tuesday, January 24, 2006 11:48 PM by PaulWilson

Comments

# re: WilsonORMapper v4.2.1 Released -- Includes Sql2005 Row_Number Paging

Oh man, play time tomarrow! Nice work Paul, can't wait to play with this.

Wednesday, January 25, 2006 12:13 AM by Travis

# re: WilsonORMapper v4.2.1 Released -- Includes Sql2005 Row_Number Paging

Outstanding, Paul! Thank you for your continued support and commitment, as well as a big thanks to all those who have contributed. WilsonORMapper is a brilliant tool.

Wednesday, January 25, 2006 12:32 AM by David

# re: WilsonORMapper v4.2.1 Released -- Includes Sql2005 Row_Number Paging

"Efficient Paging with Row_Number"???

Looking at the execution plan it doesn't seem efficient(at least according to my tests). if you select pageindex 100 with pagesize 10 out of a 10000 rows table, guess how many rows does the sql server scan?

Br,
Deyan Petrov

Wednesday, January 25, 2006 4:13 AM by Deyan Petrov

# re: WilsonORMapper v4.2.1 Released -- Includes Sql2005 Row_Number Paging

You or your DBA are still responsible for proper database indexing. O/R Mappers do NOT remove the need for database optimization -- they free your team from boring CRUD so that they can focus their time where it should be spent.

Wednesday, January 25, 2006 6:23 AM by Paul Wilson

# re: WilsonORMapper v4.2.1 Released -- Includes Sql2005 Row_Number Paging

How would you index the dynamically ROW_NUMBER generated column?? Because afterall it gets down to this, when you want to filter out 1 page out of the 100 pages resultset ... Or you mean the 100 pages resultset should have been narrowed down before doing the ROW_NUMBER to 1 page using other indexes??

Thursday, January 26, 2006 5:06 AM by Deyan Petrov

# re: WilsonORMapper v4.2.1 Released -- Includes Sql2005 Row_Number Paging

The ROW_NUMBER column shouldn't be the problem, at least I don't think so anyhow. The problem you are seeing is most likely the ORDER BY clause, and if you have a WHERE clause then it too possibly.

Thursday, January 26, 2006 7:12 AM by Paul Wilson

# re: WilsonORMapper v4.2.1 Released -- Includes Sql2005 Row_Number Paging

Congratulations on shipping a new version Paul!

Thursday, January 26, 2006 12:32 PM by Wallym

# re: WilsonORMapper v4.2.1 Released -- Includes Sql2005 Row_Number Paging

How do you use a variable in the order by clause of the row_number() function?

Wednesday, February 01, 2006 12:29 PM by Hong

# re: WilsonORMapper v4.2.1 Released -- Includes Sql2005 Row_Number Paging

I don't use a variable for that -- O/R Mappers produce dynamic sql, some of it parameterized and some of it not.

Wednesday, February 01, 2006 12:56 PM by Paul Wilson

Leave a Comment

(required) 
(required) 
(optional)
(required)