If a JDO query contains a query-parameter in the result-clause like the following example, the corresponding column in the result set is null.
SELECT :person, JDOHelper.getObjectId(this), this, this.movieID, this.name
The first element in the result-set is the ':person', which is a query-parameter. The query execution works fine and all other result-set-elements are correct, but the first one is null, even though it should be the object passed as query-parameter 'person'.
This bug only occurs when query.executeWithArray(...) is called - it does not occur with query.executeWithMap(...).
Log in to post a comment.