query-validator icon indicating copy to clipboard operation
query-validator copied to clipboard

Compile time validation for HQL and JPQL queries in Java code

Results 13 query-validator issues
Sort by recently updated
recently updated
newest added

I think we should do a release of this project to Maven. WDYT @emmanuelbernard @FroMage @Sanne ? Should we do it? Precisely *how* can I put jars in Maven? This...

can query-validator, or any other tool detect, and possibly suggest fixes for hibernate 4 errors like org.hibernate.MappingException: Unable to find column with logical name: CODE_IND in org.hibernate.mapping.Table(INDICATORS_OD) and its related...

Entities have a hardcoded `@Id` type. This doesn't seem to break anything. Still, it would be cleaner to do it properly.

So, if we add this APT processor in the classpath, we pull in all our deps in the user's classpath, including Groovy and our specific version of Hibernate. In Maven,...

With the introduction of the module system in JDK 9, quite a few things change for us, including some of the `javac` compiler APIs we're using. I've managed to get...

* Adds support for queries in [`@Query` annotation](https://docs.spring.io/spring-data/jpa/docs/current/api/org/springframework/data/jpa/repository/Query.html) of Spring Data JPA. * Ignores the query when `nativeQuery = true` on the annotation * does not support (not check) `countQuery`...

Hello, I've added `@Query` (`org.springframework.data.jpa.repository.Query`) annotation support with unit tests and I also manually tested it in my projects. Do you think it can be merged? At least, I'd like...

Add suggestions when a name is wrong. At least for property names. Probably impossible for entity names.

Enhance Hibernate to allow typechecking of function and operator arguments, according to the type system of the JPA spec.

Map keys are hardcoded to type `String`. (That's probably OK most of the time.)