diff --git a/src-test/src/org/openbravo/dbsm/test/TestIssue34022.java b/src-test/src/org/openbravo/dbsm/test/TestIssue34022.java
new file mode 100644
--- /dev/null
+++ b/src-test/src/org/openbravo/dbsm/test/TestIssue34022.java
@@ -0,0 +1,64 @@
+/*
+ ************************************************************************************
+ * Copyright (C) 2016 Openbravo S.L.U.
+ * Licensed under the Apache Software License version 2.0
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
+ * Unless required by applicable law or agreed to  in writing,  software  distributed
+ * under the License is distributed  on  an  "AS IS"  BASIS,  WITHOUT  WARRANTIES  OR
+ * CONDITIONS OF ANY KIND, either  express  or  implied.  See  the  License  for  the
+ * specific language governing permissions and limitations under the License.
+ ************************************************************************************
+ */
+package org.openbravo.dbsm.test;
+
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import java.sql.Connection;
+import java.util.Arrays;
+import java.util.HashMap;
+
+import org.apache.ddlutils.Platform;
+import org.apache.ddlutils.model.Database;
+import org.apache.ddlutils.model.Table;
+import org.junit.Test;
+import org.openbravo.dbsm.test.base.DbsmTest;
+
+public class TestIssue34022 extends DbsmTest {
+
+  public TestIssue34022(String rdbms, String driver, String url, String sid, String user,
+      String password, String name) throws FileNotFoundException, IOException {
+    super(rdbms, driver, url, sid, user, password, name);
+  }
+
+  @Test
+  public void isConfigScriptAppliedWithoutErrors() {
+    if (getRdbms() == Rdbms.PG) {
+      // Test for PostgreSqlBuilder
+      resetDB();
+      Database database = updateDatabase("createDefault/BASE_MODEL2.xml", "data/createDefault",
+          Arrays.asList("TEST"));
+      updateColumnValue(database);
+    }
+  }
+
+  private void updateColumnValue(Database database) {
+    Platform platform = getPlatform();
+    StringBuilder buffer = new StringBuilder();
+    HashMap<String, String> map = new HashMap<String, String>();
+    Table table = database.findTable("TEST");
+    map.put("TEST_ID", "1");
+    map.put("DUMMY", "'Y'");
+
+    buffer.append(platform.getSqlBuilder().getUpdateSql(table, map, false));
+    buffer.append("\n");
+    buffer.append("\n");
+    buffer.append("/-- END");
+    try {
+      Connection connection = getPlatform().borrowConnection();
+      platform.evaluateBatch(connection, buffer.toString(), true);
+      connection.close();
+    } catch (Exception ex) {
+      ex.printStackTrace();
+    }
+  }
+}
