| Resolves and checks the query trees. This involves the following things:
- Replace
NameExpression NameExpression with
LocalVariableAccess VariableAccess ,
FieldAccess FieldAccess , or
TypeAccess TypeAccess
- Resolve types referenced by
Type Type and
TypeAccess TypeAccess
- Resolve features/variables referenced by
LocalVariableAccess VariableAccess ,
FieldAccess FieldAccess , and
MethodInvocation MethodInvocation
- Check that expression types are valid, e.g. that the types of the two sides of a binary
expression are compatible to each other and that this binary operator can be applied
to them
- Check that the accessed methods are allowed to be accessed as per JDO spec (or
extensions allowed by OJB)
- Check that for each accessed variable there is a variable or parameter defined
- Check that each accessed field is persistent
author: Thomas Dudziak |