fix the implementation of getName(), this needs to be the fully qualified name if that is possible
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/jpa1/context/orm/GenericOrmPersistentType.java b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/jpa1/context/orm/GenericOrmPersistentType.java
index 9e28935..9689f94 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/jpa1/context/orm/GenericOrmPersistentType.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/jpa1/context/orm/GenericOrmPersistentType.java
@@ -182,6 +182,9 @@
 	// ********** name **********
 
 	public String getName() {
+		if (this.javaPersistentType != null) {
+			return this.javaPersistentType.getName();
+		}
 		return this.convertMappingClassName(this.mapping.getClass_());
 	}