title: execute custom JPQL query with panache on quarkus
body: <p>we use panache in our quarkus/graphql application to access the database. It works well to filter and fetch data. And now we would like to execute custom jqpl queries, but we did not find a way to do so with panache and the active record pattern.</p>
  <p>Why is this necessary for us? We want to use timescaledb, an extension for PostgreSQL. And to fetch aggregated data, we need to use its functions on database level.</p>
  <p>Why not use an sql query? Our graphql interface is based on the field names in our java code. Writing sql queries would require us to use column names in filters we use for some graphql queries.</p>
  <p>Is there a way to execute custom jqpl queries with panache?</p>
  <p>Kind regards,
  Marko</p>