Commit Graph

10 Commits

Author SHA1 Message Date
Jens Schauder
4c31e1e001 Prepare next development iteration.
See #3482
2024-09-13 12:42:27 +02:00
Jens Schauder
e4ce7ebaa1 Release version 3.4 M1 (2024.1.0).
See #3482
2024-09-13 12:39:32 +02:00
Christoph Strobl
6ecb45fe04 Revert packaging changes of performance module.
...and remove duplicate properties entry.

See: #3309
2024-08-22 09:05:06 +02:00
Mark Paluch
009c6a90ef Polishing.
Reformat pom, replace http urls with HTTPS.

See #3309
2024-06-26 13:48:23 +02:00
Mark Paluch
0a5a56fd91 Optimize QueryTokenStream handling.
This commit moves EQL and HQL parsers to QueryTokenStream and optimizes composite renderers as well as JSQLParser usage.
We also avoid Single-thread construction on each parse run to avoid thread creation overhead.

See: #3309
2024-06-25 09:09:57 +02:00
Christoph Strobl
f793c9eef0 Move query rendering to dedicated TokenRenderer.
This commit introduces a QueryTokenStream to reduce the number of stream and collect operations to estimate the size before iterating entries.

See: #3309
2024-06-25 09:05:45 +02:00
Mark Paluch
2dc94dde8c Refactor native query handling and JsqlParser usage.
This commit introduce eager alias and projection detection and aims to cache expensive calls.
It also revises JPQL parsers and enhancers into single-class hierarchy and removes strange parameter verification (as it was wrong anyway).

See: #3309
Closes: #3311
2024-06-25 09:00:07 +02:00
Mark Paluch
3e1c8a28a9 Refactor EQL, HQL & JPQL query rendering.
This commit turns existing query transformers into introspectors using eager parsing and detection of query parts.
Query transformation has also been split up into dedicated Count and Sort Query parts.
To reduce duplicate code across the existing parses we introduced a reusable functional configuration.
For better testing support a query assertion has been introduced to query parser tests and we adjusted invalid formatting.

See: #3309
Closes: #3326
2024-06-25 08:54:49 +02:00
Mark Paluch
f607dd2757 Polishing.
Update placeholders to recent syntax, reduce test fork count.

See: #3309
2024-06-25 08:45:26 +02:00
Christoph Strobl
b8319a07b9 Add performance module.
Add new module using JMH to benchmark certain aspects of query parsing & rendering.

See: #3309
2024-06-25 08:43:44 +02:00