You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the docs, extending a class that has a Path class already should create a Q class that extends said Path class, like
public class QueryExtensions {
@QueryDelegate(Date.class)
public static BooleanExpression inPeriod(DatePath<Date> date, Pair<Date,Date> period){
return date.goe(period.getFirst()).and(date.loe(period.getSecond()));
}
}
public class QDate extends DatePath<java.sql.Date> {
}
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Using 5.0.0. JPA.
According to the docs, extending a class that has a
Path
class already should create a Q class that extends saidPath
class, likehttp://querydsl.com/static/querydsl/5.0.0/reference/html/ch03s03.html#d0e2529
However, when I'm trying to extend a collection, like
Set
, QueryDSL creates BeanPath rendering other collection functions unusable:This also results in class cast errors because generated
QSet
is notSetPath
.The text was updated successfully, but these errors were encountered: