code: public final Cursor<T> queryByExample (Connection conn, T obj)
      {
          return new Cursor<T>(this, conn, obj, null, false);
      }
docs: Select records from database table using <I>obj</I> object as template.
  
  @param obj example object for search: selected objects should match all
  non-null fields.