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(",");
valuesSB.append(",");
}
qColumnsSB.append(tableName).append(".").append(columnName);
columnsSB.append(columnName);
String quoteColumnName = DB.getDatabase().quoteColumnName(columnName);
qColumnsSB.append(tableName).append(".").append(quoteColumnName);
columnsSB.append(quoteColumnName);
valuesSB.append("?");
columns.add(column);
ncols++;