Table Players:
Players
ID | name | email | age | ... 1 | \'bob\' | null | 23 | ...
This table is where instances of class Pl
Pl
You can use HQL and do a query for selecting the result as a new Map
select new Map(p.id as ID, p.name as name, p.email as email, p.age as age) from Player p
It will return you a collection of maps, being each one of the maps a row in the query result.