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: NUCRDBMS-318
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

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

JDOQL2 : Add binding of parameter type using methods like Collection.contains, Map.containsKey

Created: 02/Mar/10 07:03 PM   Updated: 17/Mar/10 08:52 PM   Resolved: 02/Mar/10 07:04 PM
Component/s: Queries
Affects Version/s: None
Fix Version/s: 2.0.2


 Description  « Hide
If we have a query using implicit parameters then the type of the parameter(s) are not known when starting the compilation. If the query has a clause like

collField.contains(:param)

then we can imply that the parameter is of the elementType or subclass. Can be useful in compiling

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 02/Mar/10 07:04 PM
SVN trunk now supports this on Collection.contains, Map.containsKey, Map.containsValue, Array.contains