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: Bug Bug
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

JDOQL2 : support input parameter being enum compared to enum persisted as ordinal

Created: 29/Dec/09 12:47 PM   Updated: 17/Mar/10 08:52 PM   Resolved: 29/Dec/09 12:50 PM
Component/s: Queries
Affects Version/s: 2.0.0.m1, 2.0.0.m2, 2.0.0.m3, 2.0.0.m4
Fix Version/s: 2.0.0.release

 Description  « Hide
If we have a JDOQL(2) query filter like
colourOrdinal == :param

and colourOrdinal is an Enum persisted as its ordinal, and the param is an input enum, then we currently get an exception with JDOQL2.

Andy Jefferson added a comment - 29/Dec/09 12:50 PM
SVN trunk handles this now

Andy Jefferson made changes - 29/Dec/09 12:50 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 17/Mar/10 08:52 PM
Status Resolved [ 5 ] Closed [ 6 ]