java.lang.IllegalArgumentException: Undeclared path 'bore'. Add this path as a source to the query to be able to reference it.

Stack Overflow | Scaddenp | 4 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    querydsl - query using properties of subclass in where clause

    Stack Overflow | 4 months ago | Scaddenp
    java.lang.IllegalArgumentException: Undeclared path 'bore'. Add this path as a source to the query to be able to reference it.

    2 unregistered visitors

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Undeclared path 'bore'. Add this path as a source to the query to be able to reference it.

      at com.mysema.query.types.ValidatingVisitor.visit()
    2. Querydsl - Core module
      QueryBase.where
      1. com.mysema.query.types.ValidatingVisitor.visit(ValidatingVisitor.java:78)
      2. com.mysema.query.types.ValidatingVisitor.visit(ValidatingVisitor.java:30)
      3. com.mysema.query.types.PathImpl.accept(PathImpl.java:94)
      4. com.mysema.query.types.ValidatingVisitor.visit(ValidatingVisitor.java:65)
      5. com.mysema.query.types.ValidatingVisitor.visit(ValidatingVisitor.java:30)
      6. com.mysema.query.types.OperationImpl.accept(OperationImpl.java:90)
      7. com.mysema.query.DefaultQueryMetadata.validate(DefaultQueryMetadata.java:351)
      8. com.mysema.query.DefaultQueryMetadata.addWhere(DefaultQueryMetadata.java:193)
      9. com.mysema.query.support.QueryMixin.where(QueryMixin.java:420)
      10. com.mysema.query.support.QueryBase.where(QueryBase.java:119)
      10 frames