code: protected PreparedStatement statement(Connection connection, String query)
              throws SQLException {
          return connection.prepareStatement(query);
      }
docs: Wrapper to create a prepared statement.
  
  @param connection
  @param query
  @return
  @throws SQLException