mirror of
https://github.com/apache/openjpa.git
synced 2025-03-07 00:49:39 +00:00
OPENJPA-1385: Visit having clause to collect query parameters
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835628 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2271a54167
commit
865dad93aa
@ -635,6 +635,10 @@ class CriteriaQueryImpl<T> implements OpenJPACriteriaQuery<T>, AliasContext {
|
|||||||
if (_where != null) {
|
if (_where != null) {
|
||||||
_where.acceptVisit(visitor);
|
_where.acceptVisit(visitor);
|
||||||
}
|
}
|
||||||
|
if (_having != null) {
|
||||||
|
_having.acceptVisit(visitor);
|
||||||
|
}
|
||||||
|
|
||||||
if (_subqueries != null) {
|
if (_subqueries != null) {
|
||||||
for (Subquery<?> subq : _subqueries) {
|
for (Subquery<?> subq : _subqueries) {
|
||||||
((SubqueryImpl<?>)subq).getDelegate().collectParameters(visitor);
|
((SubqueryImpl<?>)subq).getDelegate().collectParameters(visitor);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user