commit | 86452678c194848995d128a59e424e34913ab52a | [log] [tgz] |
---|---|---|
author | kmoore <kmoore> | Thu Mar 03 03:03:06 2011 +0000 |
committer | kmoore <kmoore> | Thu Mar 03 03:03:06 2011 +0000 |
tree | b380f1ab2d4aa73a9bf01c0bf7db92977c766a6a | |
parent | 538fad9608a43f7d512ecc89974bb1671629e518 [diff] |
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_()); }