[Jruby-extras-devel] DB2 TIMESTAMP has scale

Nick Sieger 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:
> 2006.0
> 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...
URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20061205/67ffc181/attachment.html 

More information about the Jruby-extras-devel mailing list