diff options
author | kmoore | 2011-03-03 03:03:06 +0000 |
---|---|---|
committer | kmoore | 2011-03-03 03:03:06 +0000 |
commit | 86452678c194848995d128a59e424e34913ab52a (patch) | |
tree | b380f1ab2d4aa73a9bf01c0bf7db92977c766a6a /jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse | |
parent | 538fad9608a43f7d512ecc89974bb1671629e518 (diff) | |
download | webtools.dali-86452678c194848995d128a59e424e34913ab52a.tar.gz webtools.dali-86452678c194848995d128a59e424e34913ab52a.tar.xz webtools.dali-86452678c194848995d128a59e424e34913ab52a.zip |
fix the implementation of getName(), this needs to be the fully qualified name if that is possible
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse')
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/jpa1/context/orm/GenericOrmPersistentType.java | 3 |
1 files changed, 3 insertions, 0 deletions
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 9e28935ce4..9689f948d5 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 @@ public class GenericOrmPersistentType // ********** name ********** public String getName() { + if (this.javaPersistentType != null) { + return this.javaPersistentType.getName(); + } return this.convertMappingClassName(this.mapping.getClass_()); } |