Class ParametersValidator

java.lang.Object
io.jmix.aitools.dataload.validation.validator.ParametersValidator
All Implemented Interfaces:
JpqlResultValidator, org.springframework.core.Ordered

@Component("aitls_ParametersValidator") public class ParametersValidator extends Object implements JpqlResultValidator, org.springframework.core.Ordered
Checks that the JPQL named parameters and the declared parameters match — flagging both parameters used in the query but missing from the declaration, and declared parameters that the query never uses.

Also rejects a declared parameter whose value the application supplies (current_user_*, session_*, current_locale): row-level policies refer to those, and a declared value would take the place of the application's.