Q-Type for @Embeddable in foreigen package is not created
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Querydsl |
Fix Released
|
Undecided
|
Timo Westkämper |
Bug Description
Hi,
i'm having a problem with APT and entites in different packages. We use a "base" entity which has an @Embedded Field for statistical data. That class is also annotated with @Embeddable and working fine in plain JPA.
Now, when i run maven-apt-plugin on the current project the "base" entity is found and has a matching Q-Class, but it gives an compile error because the Q-Class for the @Embeddable class is missing.
If i copy the source of that @Embeddable class into my current project everything is fine.
Do i need to put the apt-plugin also in the referenced package with the "base" entity ? Or is it possible that the querydsl processor will create all neccessary metatdata ? (Which would be prefered, because sometimes the entity you are refering to is out of your scope)
tags: | added: apt |
Changed in querydsl: | |
status: | New → In Progress |
assignee: | nobody → Timo Westkämper (timo-westkamper) |
It is difficult to support both modes. I will see if it is possible to enable this easily via an APT option.