Undelete missing line from ConnectionAdapter#to_sql

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Fix SyntaxError on 1.8 in ConnectionAdapter specs

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Fix basic integration spec on JRuby

* JRuby DO drivers raise the incorrect Error here.

Signed-off-by: Alex Coles <alex@alexbcoles.com>