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)

Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

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

JPA2 : Support JPQL "INDEX"

Created: 28/May/10 08:46 AM   Updated: 11/Jun/10 01:38 PM   Resolved: 29/May/10 08:24 AM
Component/s: Queries
Affects Version/s: None
Fix Version/s: 2.1.0.release

 Description  « Hide
JPA2 spec has

The INDEX function returns an integer value corresponding to the position of its argument in an ordered list. The INDEX function can only be applied to identification variables denoting types for which an order column has been specified."

FROM Course c JOIN c.studentWaitlist w
WHERE = 'Calculus'
AND INDEX(w) = 0

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 29/May/10 08:24 AM
SVN trunk now supports this