Are you sure you didn't declare the column as "timestamp" instead of "datetime" in MySQL?
Laurent Fleuriot wrote:
Hi,
I have a problem with timestamp.
My problem is that I have an object java with 2 dates( start and end). When I insert the object, the date "end" is null BUT hibernate inserts into my database (mysql) the current Time.
So, how can I tell to hibernate that it must insert the end date to null??
Thanks.
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel