Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmoore2008-05-09 08:40:42 -0400
committerkmoore2008-05-09 08:40:42 -0400
commitc55019e9f4f6e08ee10025d152a21ab9156eb62d (patch)
tree27884be0775af34f4de0dcdc6d8244bf82a774f2
parent8a8b1d399f29291206c79b65c884703f58a6a181 (diff)
downloadwebtools.dali-c55019e9f4f6e08ee10025d152a21ab9156eb62d.tar.gz
webtools.dali-c55019e9f4f6e08ee10025d152a21ab9156eb62d.tar.xz
webtools.dali-c55019e9f4f6e08ee10025d152a21ab9156eb62d.zip
228572 - Discriminator Column length displaying 'null' default in orm.xml entity
-rw-r--r--jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/orm/GenericOrmDiscriminatorColumn.java12
1 files changed, 1 insertions, 11 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/orm/GenericOrmDiscriminatorColumn.java b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/orm/GenericOrmDiscriminatorColumn.java
index 4a7ea3447d..0cf8666e95 100644
--- a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/orm/GenericOrmDiscriminatorColumn.java
+++ b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/orm/GenericOrmDiscriminatorColumn.java
@@ -26,10 +26,6 @@ public class GenericOrmDiscriminatorColumn extends AbstractOrmNamedColumn<XmlDis
protected DiscriminatorType defaultDiscriminatorType;
-// protected static final int DEFAULT_LENGTH_EDEFAULT = 31;
-
- protected Integer defaultLength;
-
protected Integer specifiedLength;
protected XmlEntity entity;
@@ -79,13 +75,7 @@ public class GenericOrmDiscriminatorColumn extends AbstractOrmNamedColumn<XmlDis
}
public Integer getDefaultLength() {
- return this.defaultLength;
- }
-
- protected void setDefaultLength(Integer newDefaultLength) {
- Integer oldDefaultLength = this.defaultLength;
- this.defaultLength = newDefaultLength;
- firePropertyChanged(DEFAULT_LENGTH_PROPERTY, oldDefaultLength, newDefaultLength);
+ return DiscriminatorColumn.DEFAULT_LENGTH;
}
public Integer getSpecifiedLength() {

Back to the top