Possibility to define Q-type package

Bug #632396 reported by Vesa Marttila
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Querydsl
Fix Released
Medium
Unassigned

Bug Description

Currently the generated Q-types are automatically placed in the same
package as the annotated classes.

E.g. domain.User ends up as domain.QUser.

I'd like the possibility to modify the target package possibly by giving
a suffix string which would be added after the annotated package.

E.g. with the suffix "query" domain.User ends up as domain.query.QUser
and domain.items.Car would end up as domain.query.items.QCar.

The default behavior of using the same package is very good though.

Changed in querydsl:
importance: Undecided → Medium
Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

Is now available via the querydsl.packageSuffix APT option

e.g.

-Aquerydsl.packageSuffix=.query

Changed in querydsl:
status: New → Fix Committed
Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

Released in 2.2.0-beta1

Changed in querydsl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.