Is it possible to perform a request that checks the string representation of a Date instance. For example
Restrictions.like(\"dateField\", \"%12%\")
Something like this
Restrictions.sqlRestriction("month(dateField) = 12"); Restrictions.sqlRestriction("right(year(dateField),2) = 12");
The part within the sqlRestriction depends on which database you are using.