I have a class that's located in a package. In that package I have several JPAEntities. However all I want for the JPAAnnotationProcessor to do is to generate QModel for a single class. Not for all classes inside that package. Is that possible without moving the class to another package?
QueryDSL JPAAnnotation Processor generate QModel for a single class
675 Views Asked by user962206 At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in JPA
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- How to create nested selects with sql?
- Play Framework Unable to build entity manager factory when Working with PostGIS
- Getting entity with a join table GAE
- Is it necessary to create an repository and a service for each entity?
- JPA, Hibernate can I do composite primary key which one element is foreign kay @OneToMany?
- Hibernate Search Faceting not working
- EntityManagerSetupException for multiple joins and a sub query for NamedQuery
- JPA and web app
- JPA findDistinctPropertyBy magic method doesn't work as expected when using spring-boot-starter-jpa
- Inject EntityManager in SwitchYard Junit implementation
- QueryDSL where relationship may be null
- JPA, how can i have two queries, one use lazy and one use eager for fetching?
- Duplicate entry '[X]' for key '[Y]' on JPA repository 'save' operation. Saved entity has its key defined already
- Hibernate's bidirectional OneToOne relationship not working within the same class
Related Questions in SPRING-DATA
- LightAdmin - Customise parsing DateTime with app timezone
- ClassNotFound: UpdateableState in spring-data-neo4j-rest 3.3.0
- Spring Data JPA Many to Many save to set
- Inherited properties of related entities are not visible in spring-data-neo4j-rest
- Guice + Jersey + Spring data
- org.hibernate.exception.SQLGrammarException: could not prepare statement; nested exception is javax.persistence.PersistenceException
- Caused by: java.sql.SQLSyntaxErrorException: [SQL0205] Column MITMAS_MMCONO not in table OOLINE in schema
- Spring HATEOAS + JPA links
- Mongo @DBRef unique
- What is the exact meaning of @RestResource(exported=false) in Spring-Data?
- How is the RowMapper Method working from Spring 1.2?
- Spring boot don't let me create a repository without database
- Delete ObjectDetails from Object Spring Data
- How to have a different Elastic Spring Data index per request
- JPA - how to prevent an unnecessary join while querying many to many relationships
Related Questions in QUERYDSL
- QueryDSL where relationship may be null
- Querydsl generated sql query wrong sql type (nvarchar instead of varchar)
- Error while accessing EntityManager in spring boot
- QueryDSL Predicate (Data JPA) which will query all the records by some rule and group them?
- QueryDSL Window functions
- How to write search queries in kibana using Query DSL for Elasticsearch aggregation
- Spring data repository QueryDslPredicateExecutor without pageable count
- QueryDSL with ignore accents
- QueryDSL selecting values with alias from Sub Query
- Left join operation performed in querydsl gives 'path expected error in querydsl'
- Is it possible to use a Enum-Method in a QueryDSL query
- Average date difference in QueryDSL
- Spring data and locking
- Empty Entity after data retrieving from MySQL DB
- Issue when using Querydsl with spring boot and elasticsearch
Related Questions in JPA-ANNOTATIONS
- Using @NamedPLSQLStoredFunctionQuery with boolean IN param, 'SYS.SQLJUTL' not installed
- Generating annotated ( @NamedPLSQLStoredFunctionQuery / @NamedPLSQLStoredProcedureQuery) queries
- Hibernate Sequence Generator is not Consistent
- EclipseLink - non Entity as target entity in the relationship attribute
- Grouping columns within entity
- JPA One Entity with two table via SecundaryTable
- @Version annotation does not work correctly
- Is it possible to override the Field constraint on a field in a child class
- QueryDSL JPAAnnotation Processor generate QModel for a single class
- Java - JPA - @Version annotation
- JPA/Hibernate @OrderBy annotation with multiple columns and ASC/DESC for each
- Mapping a list of child objects in JPA - one to many
- Hibernate recursive mapping parent/child structure - StackOverflowError when retrieve data
- Are these @Table(uniqueConstraints) and @Table(indexes) annotations the same?
- In Hibernate 3.5, what are the annotation equivalents of constrained and outer-join?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can use
@QueryExcludeannotation on top of the classes for which you don't wantQClassto be generated.Unfortunately it is not possible to solve the problem in package level atm. If you mark all package with
@QueryExcludeand single class with@QueryEntity, still the whole package will be excluded. Therefore you have to mark each class separately.