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: NUCCORE-522
Type: Bug Bug
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 Core

Generic compilation of :param.field1.field2 is incorrect (TODO in ExpressionCompiler)

Created: 12/May/10 11:04 AM   Updated: 24/May/10 03:44 PM   Resolved: 12/May/10 11:09 AM
Component/s: Queries
Affects Version/s: 2.0.0.release, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.1.0.m1, 2.1.0.m2
Fix Version/s: 2.1.0.m3

File Attachments: 1. Text File DN_test_jdo_general_patch.txt (3 kB)
2. Java Source File JDOQLDBTest.java (3 kB)



 Description  « Hide
Currently compiled as
PrimaryExpression{PrimaryExpression{ParameterExpression{param}.field1}.field2}

but should be
PrimaryExpression{ParameterExpression{param}.field1.field2}}

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 12/May/10 11:09 AM
SVN trunk now corrects this

Marius Heinzmann added a comment - 19/May/10 10:13 AM
Thanks, for fixing this.

Attached is an unit test for this scenario working on a backend DB as a patch against head of test.jdo.general as well as the source file itself.