Column 'cat.kittens' is invalid in the select list because it is not contained in an aggregate function and there is no GROUP BY clause.
Java EE, JPA, JSF, CDI...
If you are not laughing at yourself, then you just didn't get the joke.