mysema/querydsl — pull request #441 by panga (2013-06-13 14:08:49+00:00)
Title: Added Date/time JPQL functions to ElipseLinkTemplates

Since EclipseLink 2.4, new date/time JPQL functions were introduced as described in the java docs:
http://www.eclipse.org/eclipselink/api/2.4/org/eclipse/persistence/jpa/jpql/parser/ExtractExpression.html

Actually, the year(), month(), day(), hour(), minute(), second() aren't specified by JPA spec, but they are in the JPQL default template. I know that these keywords are supported by Hibernate, DataNucleus and Batoo, but on EclipseLink was provided another way to do the same.