Hi, 

I have a problem with type Date.
I lost the time in the field date when i create a record .
I have : 10/02/02
And I would Like : 10/02/02  17:05:01

=======================
 
I work with Oracle.
I have a field in a table wich type is DATE.

I map it to a classe : 
-------------------------------
<field name="dateCreation" type="date">
        <sql name="date_creation" type="date" dirty="ignore"/>
</field>


In the create method : 
----------------------------------
java.util.Date l_dateCreation = new java.util.Date(System.currentTimeMillis());
......
l_mContact.setDateCreation(l_dateCreation);
.....
database.create(l_mContact);

Do i have to format something??
Someone has an idea ??

Thanks a lot.

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to