improved embeddable handling

This commit is contained in:
Timo Westkämper 2011-07-05 13:00:25 +00:00
parent 1d8b855387
commit 3acbc98405
2 changed files with 6 additions and 7 deletions

View File

@ -103,7 +103,7 @@
<processor>com.mysema.query.apt.jdo.JDOAnnotationProcessor</processor>
</processors>
</configuration>
</execution>
</execution>
</executions>
</plugin>
<plugin>

View File

@ -123,17 +123,16 @@ public class Processor {
public void process() {
processAnnotations();
// remove entity types from extensionTypes
for (String key : entityTypes.keySet()) {
extensionTypes.remove(key);
}
// remove super types from others
for (String key : actualSupertypes.keySet()) {
entityTypes.remove(key);
extensionTypes.remove(key);
embeddables.remove(key);
}
for (String key : entityTypes.keySet()) {
extensionTypes.remove(key);
embeddables.remove(key);
}
serializeTypes();