diff --git a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java index 7a860955c..0776702eb 100644 --- a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java +++ b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java @@ -3840,7 +3840,7 @@ public class DBDictionary return new String[0]; return new String[]{ "ALTER TABLE " + getFullName(column.getTable(), false) - + " DROP COLUMN " + column }; + + " DROP COLUMN " + toDBName(column.getIdentifier()) }; } /**