openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppod...@apache.org
Subject svn commit: r747848 - /openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/query/QueryDefinitionImpl.java
Date Wed, 25 Feb 2009 16:26:29 GMT
Author: ppoddar
Date: Wed Feb 25 16:26:29 2009
New Revision: 747848

URL: http://svn.apache.org/viewvc?rev=747848&view=rev
Log:
Oversight in QueryDefinition.selectDistinct() boolean argument corrected

Modified:
    openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/query/QueryDefinitionImpl.java

Modified: openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/query/QueryDefinitionImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/query/QueryDefinitionImpl.java?rev=747848&r1=747847&r2=747848&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/query/QueryDefinitionImpl.java
(original)
+++ openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/query/QueryDefinitionImpl.java
Wed Feb 25 16:26:29 2009
@@ -300,7 +300,7 @@
 	}
 
 	public QueryDefinition selectDistinct(List<SelectItem> items) {
-		return select(items, false);
+		return select(items, true);
 	}
 	
 	private QueryDefinition select(List<SelectItem> items, boolean isDistinct) {



Mime
View raw message