Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortle2010-07-14 21:27:48 -0400
committertle2010-07-14 21:27:48 -0400
commit6da58ba828920dcf7995654aa7e115c9a910f3d0 (patch)
tree3adf231f2090b5a84282cc1c9a7160c6fa1e156b
parentfc708cc05c58e6348d210418c52ec1b9e8c34b0b (diff)
downloadwebtools.dali-6da58ba828920dcf7995654aa7e115c9a910f3d0.tar.gz
webtools.dali-6da58ba828920dcf7995654aa7e115c9a910f3d0.tar.xz
webtools.dali-6da58ba828920dcf7995654aa7e115c9a910f3d0.zip
314541 - IllegalArgumentException with editing some eclipselink properties in source
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/context/persistence/customization/EclipseLinkCustomization.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/context/persistence/customization/EclipseLinkCustomization.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/context/persistence/customization/EclipseLinkCustomization.java
index 5df14565e1..1affa8f1af 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/context/persistence/customization/EclipseLinkCustomization.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/context/persistence/customization/EclipseLinkCustomization.java
@@ -660,6 +660,9 @@ public class EclipseLinkCustomization extends EclipseLinkPersistenceUnitProperti
*/
private Entity setEntityDescriptorCustomizerOf(PersistenceUnit.Property descriptorCustomizerProperty) {
String entityName = this.extractEntityNameOf(descriptorCustomizerProperty);
+ if(StringTools.stringIsEmpty(entityName)) {
+ return null;
+ }
return this.setEntityDescriptorCustomizerOf(entityName, descriptorCustomizerProperty.getValue());
}

Back to the top