hql « Validation « JPA Q&A





1. JPA/Hibernate: code based validation of jpa queries    stackoverflow.com

What is the right way do validate a jpa query programmatically. Hibernate validates all annotation based named queries on entities. But how can I call this validation routine on programmatically builded ...

2. Validating dot notation field for HQL    forum.hibernate.org

Folks, I have a method to create a HQL based on the passed in paramters (e.g. field which is the dot notation representation of a particual field). My question is if I want to check if it is a valid dot notation representation, any easy way to do this? (other than looping through the field between dot using Configuration configuration.getClassMapping(DrivingVO.class).getProperty("first_part_of_field") and ...

3. Funtionality to validate a hql    forum.hibernate.org

4. Validate an hql query    forum.hibernate.org

Hello, Is there a way to automatically validate the structure of named HQL query without execute it? Let me explain: I will seek some sort of tools (like ant hibernate tools) to load the named query, then translate it in SQL and verify its consistency with the structure of database. I know that you can easily retrieve named queries from the ...