Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2009-02-25 18:32:42 +0000
committerEike Stepper2009-02-25 18:32:42 +0000
commit8c66ac35a0121d02e912e858da3c587586374cdf (patch)
tree10509d74d44bfb363e7bfedafac96abab9f626fb /plugins/org.eclipse.net4j.db
parenta60e87327a7661a0db0ec8f6e5e5a0f5faa651b0 (diff)
downloadcdo-8c66ac35a0121d02e912e858da3c587586374cdf.tar.gz
cdo-8c66ac35a0121d02e912e858da3c587586374cdf.tar.xz
cdo-8c66ac35a0121d02e912e858da3c587586374cdf.zip
[265435] Replace CDOModelElements by EModelElements
https://bugs.eclipse.org/bugs/show_bug.cgi?id=265435
Diffstat (limited to 'plugins/org.eclipse.net4j.db')
-rw-r--r--plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/internal/db/ddl/DBField.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/internal/db/ddl/DBField.java b/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/internal/db/ddl/DBField.java
index fd71816d2a..d58105bc2f 100644
--- a/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/internal/db/ddl/DBField.java
+++ b/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/internal/db/ddl/DBField.java
@@ -168,6 +168,13 @@ public class DBField extends DBSchemaElement implements IDBField
public void appendValue(StringBuilder builder, Object value)
{
- type.appendValue(builder, value);
+ if (value == null)
+ {
+ builder.append("NULL");
+ }
+ else
+ {
+ type.appendValue(builder, value);
+ }
}
}

Back to the top