Hi.
My Book domain object has an instance variable called releasingDate.
At
Java level, this variable's type is java.util.Date and at Hibernate mapping file is date.
I tried the following query :
here is the implementation :
(yes, I'm using Spring, but the problem is related to Hibernate, I think).
In order to supply a date argument to this query, I wrote :
But I got an exception indicating the books's size is 0 , while I'm sure that I have two books.
Any ideas (how to compare two date for equality in hibernate) ?