IDEMPIERE-4558 Copy GardenWorld into a new Client using Copy Client - failing in postgresql native (#399)

Fix the problem in postgresql native
This commit is contained in:
Carlos Ruiz 2020-11-21 07:21:45 +01:00 committed by GitHub
parent d44fde9e08
commit b778904d42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -786,8 +786,9 @@ public class MoveClient extends SvrProcess {
columnsSB.append(","); columnsSB.append(",");
valuesSB.append(","); valuesSB.append(",");
} }
qColumnsSB.append(tableName).append(".").append(columnName); String quoteColumnName = DB.getDatabase().quoteColumnName(columnName);
columnsSB.append(columnName); qColumnsSB.append(tableName).append(".").append(quoteColumnName);
columnsSB.append(quoteColumnName);
valuesSB.append("?"); valuesSB.append("?");
columns.add(column); columns.add(column);
ncols++; ncols++;