title: Getting a UUID (as a string) from a MySQL table, but is printing out as "true"?
body: <pre><code>    private UUID getClientID(String username) {
      try {
          String query = "SELECT id FROM `client_table` WHERE username = ?";
          stmt = connection.prepareStatement(query);
          stmt.setString(1, username);
          ResultSet rs = stmt.executeQuery();
          System.out.println(rs.next());
          return UUID.fromString(String.valueOf(rs.next()));
      } catch (Exception e) {
          e.printStackTrace();
      }
  
      return null;
  }
  </code></pre>
  
  <p>So I printed rs.next out to console and it just says "true".. I'm trying to get the VALUE from the table but I think this is seeing if the value exists? Not sure what I've done wrong.. Any help?</p>