Refactor APT Configuration to allow demarcating embedded objects without annotations

Bug #767024 reported by Oliver Gierke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Querydsl
Fix Released
Undecided
Unassigned

Bug Description

The Configuration interface currently assumes that embedded objects are demarcated with an annotation (either on the client side or at the type to embed). However, there might be cases where relations should be embedded by default so that there's no need to actually have an annotation on either the property or the type to be embedded.

Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

You can now enable Q-type generation for unknown types via DefaultConfiguration.setUnknownAsEmbedded(true). I just commited this addition to SVN trunk.

Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

I also just deployed the latest SNAPSHOT. Could you verify that this works for your APT processor?

Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

The functionality is now also available in 2.2.0-beta4

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

Released in 2.2.0.beta5

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.