conn = getConnection(env, conn);
if (conn == null) conn = getConnection(env);
  public String mysql_real_escape_string(Env env,                                         String unescapedString,                                         @Optional Mysqli conn)  {    conn = getConnection(env, conn);    return conn.real_escape_string(unescapedString);  }