[
https://issues.jboss.org/browse/ISPN-5414?page=com.atlassian.jira.plugin....
]
Adrian Nistor commented on ISPN-5414:
-------------------------------------
The pull request is linked in the 'Git Pull Request' field of the jira.
The PR adds the named params feature but does not add a noticeable performance improvement
because it currently cannot avoid re-parsing but due to a limitation in the HQL
parser's way of supporting params. The HQL parser translates the HQL query into a
lucene query and during this phase it also injects the current values of the parameters
into the resulting lucene query. Lucene queries are immutable. So running a query with
different param values requires re-parsing and re-translation. I'm trying to enhance
the HQL parser to remove this limitation until the 8.0 final release but cannot promise it
will happen. Worst case scenario, we'll have support for named params now but without
a performance benefit in 8.0, hoping to solve that in 8.1. or 8.2.
Support (named) parameters in DSL based queries
-----------------------------------------------
Key: ISPN-5414
URL:
https://issues.jboss.org/browse/ISPN-5414
Project: Infinispan
Issue Type: Feature Request
Components: Remote Querying
Affects Versions: 8.0.0.Final
Reporter: Adrian Nistor
Assignee: Adrian Nistor
Fix For: 8.0.0.Final
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)