[Helma-user] ORM of timestamp and datetime DB fields
Stefan Rinner
rist at mac.com
Tue Jan 16 16:47:44 CET 2007
>> All properties of the new site entry get written to the database
>> EXCEPT
>> for lu and ct which are of type TIMESTAMP. instead of the proper
>> values
>> helma stores NULL into the db. i played around a bit and found out
>> that:
You are trying to set the value of the DATE column to a string - try
to set it using a Date Object.
newSite.lu = new Date(2007, 1, 1, 11, 11, 0, 0);
- stefan
More information about the Helma-user
mailing list