Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: JRuby-extras
-
Labels:None
-
Environment:dbd-jdbc 0.0.1
dbi 0.4.0
-
Testcase included:yes
-
Patch Submitted:Yes
-
Number of attachments :
Description
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.