set Calender to timestamp to fix HQL Postgres internal cast problems