Issue Details (XML | Word | Printable)

Key: NUCCORE-560
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Erik Bengtson
Reporter: Erik Bengtson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Core

Allow invoke expression to be declared in grouping

Created: 19/Sep/10 06:20 PM   Updated: 20/Oct/10 09:29 AM   Resolved: 19/Sep/10 06:21 PM
Component/s: Queries
Affects Version/s: 2.2.0.m1
Fix Version/s: 2.2.0.m2

Forum Thread URL: http://www.jpox.org/servlet/forum/viewthread_thread,6304


 Description  « Hide
allow invoking expression to be in group by

q.setResult("count(this), firstName, bestFried.birthDate.getMonth()");
q.setGrouping("firstName, bestFried.birthDate.getMonth()");



Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 21/Sep/10 05:52 PM - edited
JDOQLInMemoryTest is now broken for several tests, and this is the only recent change

Failed tests:
  testOrdering(org.datanucleus.tests.JDOQLInMemoryTest)
  testResultClassWithResult(org.datanucleus.tests.JDOQLInMemoryTest)
  testFilter(org.datanucleus.tests.JDOQLInMemoryTest)
  testStringEndsWith(org.datanucleus.tests.JDOQLInMemoryTest)
  testStringIndexOf(org.datanucleus.tests.JDOQLInMemoryTest)
  testFilterParameter(org.datanucleus.tests.JDOQLInMemoryTest)
  testParameterMethodInvoke(org.datanucleus.tests.JDOQLInMemoryTest)

Tests run: 18, Failures: 7, Errors: 0, Skipped: 0


Changes to JDOQLInMemoryTest removed, so please reapply in a way that doesn't break existing tests