Issue Details (XML | Word | Printable)

Key: NUCCORE-476
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 Core

Generic compilation of {arrayField}.length is incorrectly interpreted as a variable

Created: 02/Mar/10 05:51 PM   Updated: 03/Apr/10 10:45 AM   Resolved: 08/Mar/10 09:39 AM
Component/s: Queries
Affects Version/s: None
Fix Version/s: 2.0.3, 2.1.0.m1

 Description  « Hide
When we compile the query
SELECT FROM mydomain.MyArrayHolder this.array2.length == :p

this becomes
  [filter:DyadicExpression{PrimaryExpression{VariableExpression{this.array2}.array2.length} = ParameterExpression{p}}]
  [symbols: p type=unknown, this type=mydomain.MyArrayHolder, this.array2 type=unknown]

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 08/Mar/10 09:39 AM
SVN trunk has this fixed; 4 tests pass