I am currently investigating on the usage of JPQL query in a type-safe
manner. I have read the article "Design Patterns for Teaching Type
Checking in a Compiler Construction Course"
( http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=4287122) which
discusses on a pattern for type checking. Please let me know, how the type
safety is guaranteed in EclipseLink JPA for the JPQL queries and for the
queries built using Expression Framework. Any pointers to understand the
type checking in EclipseLink will be helpful.