dbd-jdbc: Register a handler for DBI 0.4.x's default parameter binding type coercion ------------------------------------------------------------------------------------
Key: JRUBY-3067 URL: http://jira.codehaus.org/browse/JRUBY-3067 Project: JRuby Issue Type: Bug Components: JRuby-extras Environment: dbd-jdbc 0.0.1 dbi 0.4.0 Reporter: Chad Johnson Priority: Critical Attachments: prepare_type_convert.patch, test_prepare_type_convert.rb Two things : 1.) Use of these types [DBI::Time, DBI::Date, DBI::Timestamp] is now deprecated. I have replaced the use of these classes in the patch provided with [Time, Date, and DateTime] 2.) DBI 0.4.x introduced a new default type coercion method handler that dbd's can, optionally, implement. I have implemented this method in the patch provided to allow all passed in values to reach Statement.bind_param unmolested. The attached test case will fail before this 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