NHibernate - Eager Fetch, Order By and a strange behavior with ICriter(www.primordialcode.com)

submitted by GuardianGuardian(1104) 1 year, 10 months ago

Shows a strange behavior of ICriteria while using eager fetching on collection of items that have an order by clause applied in the mapping. The mapping order by seems to take over what you specify in the ICriteria. This doesn't happen when using HQL queries.

add a comment |category: |Views: 6

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story