Pavtel objects initialization by jpql

The name courtCasesQuery is not relevant, the method has nothing to do with courtCases (i guess it's a typo or something like that)