|
[
Permlink
| « Hide
]
Michael Watzek added a comment - 15/Oct/05 12:55 AM
The patch implements the assertions above.
Some comments about the patch
CharacterAndStringLiterals.java: - I propose to change the filter of the invalid query to "charNotNull == 'O.'". - I propose to add a new invalid query using double quotes: "charNotNull == \"O.\"" - OR is not a valid operaor in JDOQL. - I propose to add another valid query using double quotes: stringNull.startsWith(\"Even\") OR charNotNull == \"O\" PositiveRange, RangeAsString: - I propose to add another test query with a non zero from range. IdentifiersEqualFieldNames: - I think we need two test queries here: one accesing a persistent field such as "this.firstname = 'emp1First'" and another one uinsg a constatnt such as "this.personid < Byte.MAX_VALUE. The second patch implements the comments above. Additionally, it adds ORDER BY clauses to all valid range queries.
The second patch implements the comments above and has been checked in.
That patch contained two bugs which has been fixed and checked in also: 1) The call of method Query.setRange had been enabled. 2) A logger for class MyLibReader was introduced in all logging properties files. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||