![]() The outputDirectory configuration property points to the directory where the Q-type source files will be generated. ![]() This plugin makes sure that the Q-types are generated during the process goal of Maven build. To configure annotation processing plugin that takes advantage of querydsl-apt, add the following plugin configuration to your pom – inside the element: Ĭom. The querydsl-jpa library is the Querydsl itself, designed to be used together with a JPA application. The provided scope of the querydsl-apt dependency means that this jar should be made available only at build time, but not included into the application artifact. For instance, if you have a User class marked with the annotation in your application, then the generated Q-type will reside in a QUser.java source file. This tool generates the so called Q-types - classes that directly relate to the entity classes of your application, but are prefixed with letter Q. ![]() The querydsl-apt dependency is an annotation processing tool (APT) - implementation of corresponding Java API that allows processing of annotations in source files before they move on to the compilation stage. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |