code: public static <T> T statementToObject(PreparedStatement stmt, Class<T> clazz, Object... args) throws SQLException
     {
        return OrmReader.statementToObject(stmt, clazz, args);
     }
docs: This method takes a PreparedStatement, a target class, and optional arguments to set
  as query parameters. It sets the parameters automatically, executes the query, and
  constructs and populates an instance of the target class. <b>The PreparedStatement will be closed.</b>
  
  @param stmt the PreparedStatement to execute to construct an object
  @param clazz the class of the object to instantiate and populate with state
  @param args optional arguments to set as query parameters in the PreparedStatement
  @param <T> the class template
  @return the populated object
  @throws SQLException if a {@link SQLException} occurs