datamapper/do — pull request #41 by patcheng (2012-10-06 03:40:00+00:00)
Title: avoided dynamically creating class methods. Apparently, in JRuby at least, there is a lock on that.

I was testing with JDNI (Commons DBCP) with unlimited database connection. Might not be as bad if using DataMapper's connection pool.