Cross posted here

http://stackoverflow.com/questions/2...ge-as-criteria