> 1. JIRA "Support for conditional operator ? : in JDOQL":
> https://issues.apache.org/jira/browse/JDO-650
> 
> IF w/o ELSE is not supported, to avoid an undefined state of an expression.

Sounds fine.

> Waiting for some feedback from Datanucleus on "where does the current
> implementation in DataNucleus allow IF ... ELSE?"

Simple answer is that there is no restriction on where this is placed (i.e 
result, filter, ordering, grouping). It compiles it into an internal 
CaseExpression. 
More complicated answer is it will depend on where the datastore supports it. 
The result clause is the most logical place to use it, but the filter is also a 
possible place. I've only ever tested it in the result clause.




-- 
Andy
DataNucleus (Web: http://www.datanucleus.org   Twitter: @datanucleus)

Reply via email to