Hi Andy, > On Feb 14, 2015, at 12:37 AM, Andy Jefferson <[email protected]> wrote: > >> a. Missing exception in case of different types in multiple expressions in >> IF and ELSE. Might not be an error; needs discussion. b. Generated CASE >> statement is reordered randomly, leading to incorrect results. >> Currently testing against 4.1.0-M1. What is the version of DataNucleus >> that we should be testing against? > > "reordered randomly" is presumably for the test which has incompletely > defined "when" clauses, that rely on the order of the "IF-ELSE IF-ELSE" > clauses. I personally would *always* fully define my 'when clauses' so that > if > I wanted to swap them around at some later date then I won't find some > implied behaviour.
This might be “best practice” but I think it’s pretty clear that IF ELSE implicitly allows non-overlapping conditions with the first condition always being evaluated first. > > Suggest that you use nightly builds of anything if wanting to check current > capability (after all, I need to use non-released Apache JDO code here). > "4.1 nightly" caters for incompletely defined when clauses IIRC. > > > Returning to that old question : When will 3.1 be released? > JDO Query API rewrite is the thing people want. I assume you’re talking about https://issues.apache.org/jira/browse/JDO-652 which was discussed not quite to agreement a few years ago. Are you suggesting to put this feature back into 3.1? I thought that the only feature we are waiting on for 3.1 is the IF ELSE. What do you think? Craig > > > > -- > Andy > DataNucleus (Web: http://www.datanucleus.org Twitter: @datanucleus) Craig L Russell Architect, Oracle http://db.apache.org/jdo 408 276-5638 mailto:[email protected] P.S. A good JDO? O, Gasp!
