Is there any other way to do typesafe queries with TopLink than through the JPA 2.0 Criteria API?
From a sales meeting I got the impression that this is possible through a proprietary part in TopLink, but I couldn't find any related documentation.
Is there any other way to do typesafe queries with TopLink than through the JPA 2.0 Criteria API?
From a sales meeting I got the impression that this is possible through a proprietary part in TopLink, but I couldn't find any related documentation.
No, JPA 2.0 is the only way.
TopLink does also provide Expression objects, but they are not typed. If you just want dynamic queries, you can use Expressions instead of Criteria.