openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppod...@apache.org
Subject svn commit: r835628 - /openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/CriteriaQueryImpl.java
Date Thu, 12 Nov 2009 23:10:46 GMT
Author: ppoddar
Date: Thu Nov 12 23:10:46 2009
New Revision: 835628

URL: http://svn.apache.org/viewvc?rev=835628&view=rev
Log:
OPENJPA-1385: Visit having clause to collect query parameters

Modified:
    openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/CriteriaQueryImpl.java

Modified: openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/CriteriaQueryImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/CriteriaQueryImpl.java?rev=835628&r1=835627&r2=835628&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/CriteriaQueryImpl.java
(original)
+++ openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/CriteriaQueryImpl.java
Thu Nov 12 23:10:46 2009
@@ -635,6 +635,10 @@
         if (_where != null) {
             _where.acceptVisit(visitor);
         }
+        if (_having != null) {
+            _having.acceptVisit(visitor);
+        }
+        
         if (_subqueries != null) {
             for (Subquery<?> subq : _subqueries) {
                 ((SubqueryImpl<?>)subq).getDelegate().collectParameters(visitor);



Mime
View raw message