I\'m beginner with java and JPA, and I tried to create a query where I need to use array_aggand groupBy. I have the following entities:
array_agg
groupBy