public void loadAllObjects() {
        ResultSet data = query(QueryGen.selectAllObjects());
        while (iterateData(data)) {
            ChunkyObject obj = (ChunkyObject) createObject(getString(data, "type"));
            if (obj == null) {
                Logging.warning("Created " + getString(data, "type") + " is null");
                continue;
            }
            try {
                obj.setId(getString(data, "id")).load(getString(data, "data"));
            } catch (JSONException e) {
                Logging.severe(e.getMessage());
            }
        }
    }