[Hibernate] Problem with timestamp

2003-10-01 Thread Laurent Fleuriot
Hi, I have a problem with timestamp. My problem is that Ihave 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

Re: [Hibernate] Problem with timestamp

2003-10-01 Thread Gavin King
You are mistake. 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

Re: [Hibernate] Problem with timestamp

2003-10-01 Thread Gavin King
Ooops. Sorry. I mean to say mistaken LOL. Gavin King wrote: You are mistake. --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ hibernate-devel