title: How to query on a month for a date with Hibernate criteria
body: <p>I need to use criteria to query a database.
  The data I'm searching has a date, say 'startDate' and I have a month say 0 for January, I need to extract all data where startDate has month = 0; in sql I'd use something like 'where month(startDate) = 0' but I don't know how to do this with hibernate criteria and if it's possible at all. 
  Can you help me? 
  Thank you guys.
  Luca.</p>