Try to change the type to TIMESTAMP in the database as well (alter table
... ) .

The SQL generated by Torque for a "TIMESTAMP" column uses Oracle's
TIMESTAMP type.

Ex:
CREATE TABLE resEssaiMecaMetal
(
    reference NUMBER NOT NULL,
    dateCreation TIMESTAMP         ==> and not dateCreation DATE
);

It is working for me, hope this will help you...



                                                                                
                                    
                    Roel van Dijk                                               
                                    
                    <[EMAIL PROTECTED]        Pour :  Apache Torque Users List 
<[email protected]>               
                    l.com>               cc :                                   
                                    
                                         Objet :      Re: R�f. : date fields / 
oracle                               
                    09/05/2005                                                  
                                    
                    16:44                                                       
                                    
                    Veuillez                                                    
                                    
                    r�pondre �                                                  
                                    
                    "Apache                                                     
                                    
                    Torque Users                                                
                                    
                    List"                                                       
                                    
                                                                                
                                    
                                                                                
                                    




On 5/9/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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 -- [EMAIL PROTECTED]

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





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

Reply via email to