NHibernate Queries: HQL vs. Criteria API

As someone who did a lot of SQL a few years ago, I was immediately more comfortable using HQL for my ActiveRecord queries than the Criteria API.  But from a documentation/samples standpoint, I see a much higher percentage of the Criteria API being used vs. HQL.  I still use HQL most of the time.

This morning, Ayende had a post that answered the question I've always wondered: Which should I use?

Technorati Tags: ,,,

No Comments