Sounie wrote:
What method are you using to assign the date parameter for the query?
Hibernate could be stripping off the time aspect if you are using setDate instead of setTimestamp.
Do you need the precision to go down to hours, minutes and seconds, or could you get by with just the date?
--
Stephen Souness
Hi,
I'm using the setDate(String name, Date date) method and I need the precision to go down to milliseconds. In the Query API all methods: setDate, setTime and setTimestamp receive as a second param a java.util.Date. Perhaps you're right. I'll try using setTimestamp.
Many thanks.