I'm getting a weird exception:
java.lang.ClassCastException: database.entity.Player cannot be cast to database.entity.Player From just fetching a single result:
TypedQuery query = em.createNamedQuery("Player.getPlayer", Player.class);
Player player = query.setParameter("id", uid