NHibernate 3.2: paging broken on Oracle databases

Howdy,

after upgrading to Nhibernate 3.2.0, the pagination methods of existing projects depending on NH with Oracle databases do not work correctly anymore – they return either zero records, or an incorrect (unexpected) number of them. The problem occurs when using SetFirstResult(int) and SetMaxResults(int) methods of the ICriteria object. Apparently this is caused by a bug in the version 3.2.0. Updating to the currently latest version (3.3.0) resolves the issue.

Further information can be found here.

Hope this helps,
Lukasz

~ by Łukasz on 17 May 2012.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: