# Mapping Data to Models

Turn each row of a query result into a Category object and collect them in an ArrayList.

![Cheat sheet: Mapping Data to Models](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/558b1c7b1fb640588466a5dcb48b72d3.webp)

- Category: Java
- Level: Journeyman
- Tags: java, sql
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/mapping-data-to-models-cheat-sheet
