Address JDBC-51 by removing reflection warnings (uses of get-connection result).