dbd-jdbc: Override Ruby DBI's default database return value coercion for Date / 
Time / Timestamp columns 
---------------------------------------------------------------------------------------------------------

                 Key: JRUBY-3068
                 URL: http://jira.codehaus.org/browse/JRUBY-3068
             Project: JRuby
          Issue Type: Bug
          Components: JRuby-extras
         Environment: dbd-jdbc 0.0.1
dbi 0.4.0 
            Reporter: Chad Johnson
            Priority: Critical
         Attachments: return_value.patch, test_return_value.rb

Ruby DBI 0.4.x now does some default type coercion when extracting data.  This 
only seems to be causing a problem with Date, Time, and Timestamp columns.  
That attached patch overrides this type coercion for these three data types.  
The patch included will output the wrong class type for the Date/Time columns 
before the patch is applied.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to