That's strange ... The original mapping was incorrect. Out of 3
time-related JDBC types (DATE, TIME, TIMESTAMP), only TIMESTAMP provides
both date and time portions. So that fix still applies.
Not sure what else can be wrong :-/ Are you sure that old *.map.xml copy
is not sitting somewhere in CLASSPATH?
Andrus
> Hi,
>
> No, it does not work :-(. Any idea how to find the problem ?
>
> Thanks and best regards
> René
>
>> -----Ursprüngliche Nachricht-----
>> Von: Andrus Adamchik [mailto:andru..bjectstyle.org]
>> Gesendet: Donnerstag, 24. Februar 2005 15:17
>> An: René Kulschewski
>> Betreff: Re: Problem with Date/Time-part
>>
>> René,
>>
>> Just change DATE to TIMESTAMP for DbEntity - this should fix
>> it. Hope this helps.
>>
>> Andrus
>>
>>
>> > Hello,
>> >
>> > I have a table in Oracle with column of type "Date". In
>> this column is
>> > a value with Date+Time (checked that with SQLplus).
>> > In Cayenne-modeler this column is DATE (DbEntity) and
>> java.util.Date
>> > (ObjEntity). But when i fetch this value with Cayenne and
>> assign it to
>> > another variable i get only the "Date"-part, time is "00:00:00".
>> >
>> > Do you have any idea what's wrong ?
>> >
>> > Thanks,
>> > René
>> >
>> > Dipl.-Ing. René Kulschewski
>> > IVU Traffic Technologies AG
>> > Bundesallee 88, 12161 Berlin
>> > Telefon: +49.30.85906-0, Telefax: +49.30.85906-360
>> > mailto:Rene.Kulschewsk..vu.de, http://www.ivu.de
>>
>>
>>
>>
This archive was generated by hypermail 2.0.0 : Thu Feb 24 2005 - 10:02:24 EST