return ret;
}
public DBFilesBean getFileByGameIdAndFileId(Long paramGameId, Long paramFileId) throws SQLException, IllegalArgumentException, IllegalAccessException, InstantiationException {
setNames();
SqlInjectorInterface injector = new EmptySqlInjector();
String query = injector.getFullQuery();
if (query == null) {
String record = injector.getRecordQuery();
String from = injector.getRecordQuery();
String join = injector.getRecordQuery();
String where = injector.getRecordQuery();
String order = injector.getRecordQuery();
String limit = injector.getRecordQuery();
query = " SELECT f.*, gf.* FROM files f LEFT JOIN game_files gf ON gf.file_id = f.file_id AND gf.game_id = ? WHERE f.file_id = ? LIMIT 1 ";
}
List<Map<String, Object>> result = getConnection().fetchRows("getFileByGameIdAndFileId", query , paramGameId, paramFileId);