code: public <T extends D6Model> T[] execSelectTable(Class<T> modelClazz) {
  
      final DBTable dbTable = modelClazz.getAnnotation(DBTable.class);
      final String dbTableName = dbTable.tableName();
      return (T[]) execSelectTable("SELECT * FROM " + dbTableName, modelClazz);
    }
docs: Execute select statement and returns the all lines of rows corresponding
  to the specified model class as array of Objects
  
  @param modelClazz
  @return