eolivelli commented on a change in pull request #69: URL: https://github.com/apache/openjpa/pull/69#discussion_r456882860
########## File path: openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/Table.java ########## @@ -329,10 +341,19 @@ public Column getColumn(String name) { return getColumn(DBIdentifier.newIdentifier(name, DBIdentifierType.COLUMN, true)); } - public Column getColumn(DBIdentifier name) { + private Column internalGetColumn(DBIdentifier name) { if (DBIdentifier.isNull(name) || _colMap == null) return null; - return _colMap.get(DBIdentifier.toUpper(name)); + DBIdentifier key = normalizeColumnKey(name); + return _colMap.get(key); + } + + public Column getColumn(DBIdentifier name) { + return internalGetColumn(name); + } + + private DBIdentifier normalizeColumnKey(DBIdentifier name) { + return DBIdentifier.removeDelimiters(DBIdentifier.toUpper(name, true)); Review comment: @rmannibucau I have created https://issues.apache.org/jira/browse/OPENJPA-2820 for this follow up work. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org