I got in a value object a property named recDate of java.util.Date.

It's mapped in resource.xml as jdbc-type="DATE" and 
mapped in the ddl as rec_date TIMESTAMP.

I persist the object with the current Date using something like:
"setRecDate(new Date()) and then I persist it using ODMG.

Everything goes fine but in the table keeps registered only the date
(not date and time) like this: 2004-01-06 00:00:00

What can I do to register the date and the time too?

Thanks.
-- 
Fabiano F. Souza
Tecnologia da Informa��o
Estudar Solu��es em Treinamento Corporativo.
(31) 32849294 - [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to