search for: jdbcconnectionadapter

Displaying 1 result from an estimated 1 matches for "jdbcconnectionadapter".

2008 Nov 28
1
True ActiveRecord result set iteration
...conditions => ..., :include => ...) { |my_table| ... } Attached you find the magic code which can be used as a plugin for Rails. When testing, please keep in mind that only Oracle and MySQL is fully supported. JDBC will take lots of RAM for large result sets until you have patched the JdbcConnectionAdapter. Some figures with JRuby: I''ve tested the code for an export of ~80.000 customer data records. Originally I couldn''t run the export with heap space less than 2 GB (JRuby 1.1.4 without extensive garbage collection). After having patched the connection adapter, it works with les...