Fedor Karpelevitch <[EMAIL PROTECTED]> writes:
>> I don't have an Oracle install to test on, only repeated reports that
>> date handling was broken for Oracle (mostly from Scarab users), and
>> this patch from Bill. IMO it seems like a reasonable change even if
>> it is only absolutely necessary in older Oracle installs.
>>
>> - Dan
>
> It was not using JDBC escapes AFAIU - in this case I understand that it
> could have had problems.
Okay, I got you. Here's the old code:
public String getDateString(Date date)
{
return "TO_DATE('" + date.toString() + "', 'yyyy-mm-dd hh24:mi:ss..' )";
}
> If Oracle has problems _with_ JDBC escapes it means that the driver is not
> JDBC compliant (I think this is unlikely).
> Could Oracle users check that?
Bill, did you try using the default implementation of
getDateString(Date) from DB.java (in the same adapters package)?
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>