2009/5/7 Hilaire Fernandes <[email protected]>

>
>
> 2009/5/7 Mariano Martinez Peck <[email protected]>
>
>>
>>
>> Sorry for the amount of mails but I am thinking just know. I can be very
>> easy to alternative (not the default way) to return the field as String if
>> it cannot be mapped or converted. In this case, suppose you have '2006-01-26
>> 17:15:52' and there is no mapping for TIMESTAMP, I can mapped it to an
>> String. This will let you fetch all the results without problem. The only
>> problem is that you will have Strings objects instead of TimeStamp objects.
>>
>> What do you think ?
>>
>
> Sure, this what I am doing, fetching raw data then I use fromDbxString: to
> convert that string to a DateAndTime.
>

Ok. That's perfect :)  But, you have do it manually isn't it ? I mean, you
iterate the collection an convert that special field from string to
DateAndTime using fromDbxString:


>
>
> For my limited usage, SqueakDBX works pretty well.
>

I am glad about it!  Remember any comment or suggestion is welcome.

Cheers,

Mariano


>
>
> Hilaire
>
>
>
> --
> http://blog.ofset.org/hilaire
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to