Refactor APT Configuration to allow demarcating embedded objects without annotations

Bug #767024 reported by Oliver Gierke on 2011-04-20
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.

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

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

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

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  Edit
Everyone can see this information.

Other bug subscribers