[Jruby-extras-devel] DB2 TIMESTAMP has scale
nicksieger at gmail.com
Tue Dec 5 09:06:56 EST 2006
On 12/5/06, Keefe Hayes <Keefe.Hayes at sas.com> wrote:
> The DB2 TIMESTAMP data type can have a scale for fractional seconds of up
> to 6.
> So that the created_at date looks like this:
> And when the value is used as a DB2 type it fails due to mismatch. This
> works better:
> if scale != 0 && type != Jdbc::Types::TIMESTAMP
Thanks for catching this. I've checked the change into SVN (rev 172), if
you want to pull it from there.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Jruby-extras-devel