Branch: refs/heads/feature-XWIKI-22726
Home:
https://github.com/xwiki/xwiki-platform
Commit: cc24beb2ebd763f945c89daca9d6749eef4188ce
https://github.com/xwiki/xwiki-platform/commit/cc24beb2ebd763f945c89daca9d6…
Author: Thomas Mortagne <thomas.mortagne(a)gmail.com>
Date: 2024-12-13 (Fri, 13 Dec 2024)
Changed paths:
M
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/hibernate/query/HqlQueryExecutor.java
A
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/query/hql/internal/ConfigurableHQLQueryValidator.java
A
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/query/hql/internal/DefaultHQLQueryValidator.java
A
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/query/hql/internal/HQLQueryValidator.java
M
xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/META-INF/components.txt
M
xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/store/hibernate/query/HqlQueryExecutorTest.java
M
xwiki-platform-tools/xwiki-platform-tool-configuration-resources/src/main/resources/xwiki.properties.vm
Log Message:
-----------
XWIKI-22726: Allow customizing the validation of HQL queries through configuration
Commit: b4c568bfcb4e9bffae064f48f58def7aa1bfc010
https://github.com/xwiki/xwiki-platform/commit/b4c568bfcb4e9bffae064f48f58d…
Author: Thomas Mortagne <thomas.mortagne(a)gmail.com>
Date: 2024-12-13 (Fri, 13 Dec 2024)
Changed paths:
M
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/internal/store/hibernate/query/HqlQueryUtils.java
M
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/hibernate/query/HqlQueryExecutor.java
A
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/query/hql/internal/ConfigurableHQLCompleteStatementValidator.java
R
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/query/hql/internal/ConfigurableHQLQueryValidator.java
R
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/query/hql/internal/DefaultHQLQueryValidator.java
A
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/query/hql/internal/DefaultHQLStatementValidator.java
A
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/query/hql/internal/HQLCompleteStatementValidator.java
R
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/query/hql/internal/HQLQueryValidator.java
A
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/query/hql/internal/HQLStatementValidator.java
A
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/query/hql/internal/StandardHQLCompleteStatementValidator.java
M
xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/META-INF/components.txt
M
xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/store/hibernate/query/HqlQueryExecutorTest.java
M
xwiki-platform-core/xwiki-platform-query/xwiki-platform-query-manager/src/main/java/org/xwiki/query/QueryException.java
M
xwiki-platform-tools/xwiki-platform-tool-configuration-resources/src/main/resources/xwiki.properties.vm
Log Message:
-----------
XWIKI-22726: Allow customizing the validation of HQL queries through configuration
* refactor the internal validator system to make it easier to reusable for other use
cases
* make sure the configurable validator is executed before the standard one
* improve safe named queries initialization
* tried to remove stuff from HqlQueryExecutor, but was not enough to get rid of the
ClassFanOutComplexity unfortunately
* various documentation improvements
Commit: 8d530324320869cf27305c7d1ee5b55638ce98eb
https://github.com/xwiki/xwiki-platform/commit/8d530324320869cf27305c7d1ee5…
Author: Thomas Mortagne <thomas.mortagne(a)gmail.com>
Date: 2024-12-13 (Fri, 13 Dec 2024)
Changed paths:
M
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/query/hql/internal/ConfigurableHQLCompleteStatementValidator.java
M
xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/store/hibernate/query/HqlQueryExecutorTest.java
Log Message:
-----------
XWIKI-22726: Allow customizing the validation of HQL queries through configuration
* add unit tests
Compare:
https://github.com/xwiki/xwiki-platform/compare/65527abae971...8d5303243208
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-platform/settings/notifications