[Dbix-class] Inflating and deflating Oracle dates
Matt S Trout
dbix-class at trout.me.uk
Mon Jun 5 03:48:27 CEST 2006
Dan Horne wrote:
>> From: dbix-class-bounces at lists.rawmode.org [mailto:dbix-class-
>> bounces at lists.rawmode.org] On Behalf Of Matt S Trout
>>
>> Couldn't you just mirror how on_connect_do handles this?
>
> Quite possibly, now that you've pointed it out to me ;-)
>
> I guess the problem I'm experiencing is that I don't know the best way to
> solve this problem. For instance, I don't want to explicity set the
> NLS_DATE_FORMAT, because that might trash the preferred format of another
> Oracle DBIx::Class user.
>
> I'm sure that this is all easily resolved, but I just can't quite see it...
Grab the NLS_DATE_FORMAT and convert it to something
DateTime::Format::Builder and/or DateTime::Format::Strptime can handle
maybe?
More information about the Dbix-class
mailing list