If you want to code it into the query then you'll need to use whatever format your database accepts, just like with real SQL, eg with SQL Server:
Code:
from Event as e where e.data='2003-01-06'
or you could use the database date functions.
Or, much better than both of those options, use params - eg:
Code:
Query q = session.createQuery("from Event as e where e.data=?");
q.setDate(dateVal);
q.list();
This means that Hibernate can parameterise the stored procedures so that the same compiled query is used for multiple dates and you don't need to worry about locale or parsing issues.