Skip to main content
summaryrefslogtreecommitdiffstats
path: root/jpa
diff options
context:
space:
mode:
authorkmoore2007-05-11 18:15:21 +0000
committerkmoore2007-05-11 18:15:21 +0000
commit8e425e2f63145898cac59ac670556f2840a63695 (patch)
treeaa50372ca814532758d0893c0b06d0771d512ab3 /jpa
parente7b65230a37d96374a062c3e69828b543fb0677b (diff)
downloadwebtools.dali-8e425e2f63145898cac59ac670556f2840a63695.tar.gz
webtools.dali-8e425e2f63145898cac59ac670556f2840a63695.tar.xz
webtools.dali-8e425e2f63145898cac59ac670556f2840a63695.zip
185224 -XMLAttibuteOverride table default is not being set
Diffstat (limited to 'jpa')
-rw-r--r--jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/platform/XmlEntityContext.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/platform/XmlEntityContext.java b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/platform/XmlEntityContext.java
index 91711a03b1..d25b912ae3 100644
--- a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/platform/XmlEntityContext.java
+++ b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/platform/XmlEntityContext.java
@@ -124,17 +124,18 @@ public class XmlEntityContext extends XmlTypeContext
@Override
public void refreshDefaults(DefaultsContext parentDefaults) {
super.refreshDefaults(parentDefaults);
+ DefaultsContext defaultsContext = wrapDefaultsContext(parentDefaults);
refreshDefaultAttributeOverrides();
refreshDefaultAssociationOverrides();
refreshDefaultSecondaryTables();
for (SecondaryTableContext context : this.secondaryTableContexts) {
- context.refreshDefaults(parentDefaults);
+ context.refreshDefaults(defaultsContext);
}
for (AttributeOverrideContext context : this.attributeOverrideContexts) {
- context.refreshDefaults(parentDefaults);
+ context.refreshDefaults(defaultsContext);
}
for (AssociationOverrideContext context : this.associationOverrideContexts) {
- context.refreshDefaults(parentDefaults);
+ context.refreshDefaults(defaultsContext);
}
}

Back to the top