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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.