The Hibernate docs contain this example query:
Code:
from Calendar cal where cal.holidays.maxElement > current date
Is 'current date' something specific to HQL or to the DB? "current date" is not mentioned anywhere else in the docs. I just need a way to insert the current time (in relation to the server that Hibernate is running on) into a query and maybe "current date" is the answer? Yes, I could use parameterized queries, but that would be a major pain (this field would appear in a lot of queries).