diff options
author | Karen Butzke | 2013-01-03 19:42:33 +0000 |
---|---|---|
committer | Karen Butzke | 2013-01-03 19:42:33 +0000 |
commit | 0529099185449ca46a263e9e5313ca2374443c60 (patch) | |
tree | 946f14ae40ac916b8bf30401c4b3a0a88213d9a4 | |
parent | f9cea1fdb0100b9e9fc00d41df5f2325edac20a0 (diff) | |
download | webtools.dali-0529099185449ca46a263e9e5313ca2374443c60.tar.gz webtools.dali-0529099185449ca46a263e9e5313ca2374443c60.tar.xz webtools.dali-0529099185449ca46a263e9e5313ca2374443c60.zip |
fixed code involved in recent refactoring - was causing invalid validation when a class was mapped and lsited in the persistence.xml
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/jpa1/context/GenericRootContextNode.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/jpa1/context/GenericRootContextNode.java b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/jpa1/context/GenericRootContextNode.java index 60f8ca6762..2d2aa2d6b4 100644 --- a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/jpa1/context/GenericRootContextNode.java +++ b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/jpa1/context/GenericRootContextNode.java @@ -295,7 +295,7 @@ public class GenericRootContextNode } Iterable<String> typeMappingAnnotationNames = this.jpaProject.getTypeMappingAnnotationNames(); - for (JavaResourceAbstractType jrat : annotatedTypes) { + for (JavaResourceAbstractType jrat : orphans) { if (jrat.isAnnotatedWithAnyOf(typeMappingAnnotationNames)) { messages.add( DefaultJpaValidationMessages.buildMessage( |