DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
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()");



Erik Bengtson made changes - 19/Sep/10 06:21 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Erik Bengtson made changes - 19/Sep/10 06:21 PM
Assignee Erik Bengtson [ erik ]
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

Andy Jefferson made changes - 21/Sep/10 05:56 PM
Fix Version/s 2.2.0.m2 [ 11022 ]
Fix Version/s 2.1.2 [ 11012 ]
Andy Jefferson made changes - 20/Oct/10 09:29 AM
Status Resolved [ 5 ] Closed [ 6 ]