db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sriram Puvvada <spuvv...@comergent.com>
Subject RE: Réf. : date fields / oracle
Date Mon, 09 May 2005 14:54:41 GMT
I had the same issue. Change the datatype for the column from date to
timestamp then timestamp value will be inserted.
Hope this will help your problem.

Sriram.
-----Original Message-----
From: Robert Kromkamp [mailto:r.kromkamp@pagelink.nl] 
Sent: Monday, May 09, 2005 10:53 AM
To: 'Apache Torque Users List'
Subject: RE: Réf. : date fields / oracle

Does it really go wrong with inserting the record into the database?

What's the result when you just print the date/timestamp before saving it.
Perhaps you do something wrong with assigning a value.

-----Original Message-----
From: Roel van Dijk [mailto:rdvdijk@gmail.com]
Sent: maandag 9 mei 2005 16:44
To: Apache Torque Users List
Subject: Re: Réf. : date fields / oracle


On 5/9/05, bernard.noel@vallourec.fr <bernard.noel@vallourec.fr> wrote:
> You can use TIMESTAMP instead of DATE
> <column name="LAST_LOGIN"  type="TIMESTAMP"/>

This still gives me me a time of 00:00:00 in the database..

-- 
Roel -- rdvdijk@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message