Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Winkler2010-08-06 13:44:13 -0400
committerStefan Winkler2010-08-06 13:44:13 -0400
commitbe5e00276733a29ed56f077de299b2e6a7b71f21 (patch)
tree49f4f06caab67c0db2c53b7a18b77beb9a0a4dd7 /plugins/org.eclipse.net4j.db.derby
parentfe26371acd8c2b5a634a5e474dc83124a832ff7c (diff)
downloadcdo-be5e00276733a29ed56f077de299b2e6a7b71f21.tar.gz
cdo-be5e00276733a29ed56f077de299b2e6a7b71f21.tar.xz
cdo-be5e00276733a29ed56f077de299b2e6a7b71f21.zip
[321108] Name starting with underscore is not handled
https://bugs.eclipse.org/bugs/show_bug.cgi?id=321108
Diffstat (limited to 'plugins/org.eclipse.net4j.db.derby')
-rw-r--r--plugins/org.eclipse.net4j.db.derby/META-INF/MANIFEST.MF8
-rw-r--r--plugins/org.eclipse.net4j.db.derby/src/org/eclipse/net4j/db/derby/DerbyAdapter.java14
2 files changed, 18 insertions, 4 deletions
diff --git a/plugins/org.eclipse.net4j.db.derby/META-INF/MANIFEST.MF b/plugins/org.eclipse.net4j.db.derby/META-INF/MANIFEST.MF
index 708854d70e..18af5900a8 100644
--- a/plugins/org.eclipse.net4j.db.derby/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.net4j.db.derby/META-INF/MANIFEST.MF
@@ -2,16 +2,16 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.net4j.db.derby;singleton:=true
-Bundle-Version: 3.0.100.qualifier
+Bundle-Version: 4.0.0.qualifier
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-ClassPath: .
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)",
- org.eclipse.net4j.db;bundle-version="[3.0.0,4.0.0)";visibility:=reexport
+ org.eclipse.net4j.db;bundle-version="[4.0.0,5.0.0)";visibility:=reexport
Import-Package: org.apache.derby.jdbc;version="[10.0.0,11.0.0)"
-Export-Package: org.eclipse.net4j.db.derby;version="3.0.100",
- org.eclipse.net4j.db.internal.derby.bundle;version="3.0.100";x-internal:=true
+Export-Package: org.eclipse.net4j.db.derby;version="4.0.0",
+ org.eclipse.net4j.db.internal.derby.bundle;version="4.0.0";x-internal:=true
Eclipse-RegisterBuddy: org.eclipse.net4j.db
Bundle-ActivationPolicy: lazy
Bundle-Activator: org.eclipse.net4j.db.internal.derby.bundle.OM$Activator
diff --git a/plugins/org.eclipse.net4j.db.derby/src/org/eclipse/net4j/db/derby/DerbyAdapter.java b/plugins/org.eclipse.net4j.db.derby/src/org/eclipse/net4j/db/derby/DerbyAdapter.java
index d97d0d76c1..d15e269f4d 100644
--- a/plugins/org.eclipse.net4j.db.derby/src/org/eclipse/net4j/db/derby/DerbyAdapter.java
+++ b/plugins/org.eclipse.net4j.db.derby/src/org/eclipse/net4j/db/derby/DerbyAdapter.java
@@ -72,4 +72,18 @@ public abstract class DerbyAdapter extends DBAdapter
{
return RESERVED_WORDS;
}
+
+ @Override
+ public boolean isValidFirstChar(char ch)
+ {
+ switch (ch)
+ {
+ case '_':
+ return false;
+
+ default:
+ return super.isValidFirstChar(ch);
+ }
+ }
+
}

Back to the top