I have rewritten the core of the Query Validator to depend only on standard annotation processing APIs, and brought it into the Metamodel Generator. This means that queries specified using the {{@HQL}} annotation will be completely typechecked.
*UPDATE*
This work takes the HQL typechecking code from the {{query-validator}} project, recently rewritten to:
* be based off H6, * support all recent JDKs, and * _not_ depend on internal compiler APIs,
and integrates it into the Metamodel Generator.
HQL queries are now completely typechecked when they occur:
# in {{@HQL}}, or # in {{@NamedQuery}}, within the scope of a {{@CheckHQL}} annotation.
With no {{@CheckHQL}} annotation, a named HQL query is only syntax-checked. |
|