From 6e90caeb39773391f0594eeff55fd937d3dbfeca Mon Sep 17 00:00:00 2001 From: freddyheredia4 Date: Wed, 21 Dec 2022 11:08:20 -0500 Subject: [PATCH] IDEMPIERE-5521 Generating a 2Pack of tabs and using postgresql 15 throws the error TabElementHandler.create: ERROR: trailing junk after numeric literal at or near TabId+"O" (#1611) Add a space in sql statement to avoid an error when creating a 2Pack of tabs using postgresql 15 --- .../src/org/adempiere/pipo2/handler/TabElementHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.pipo.handlers/src/org/adempiere/pipo2/handler/TabElementHandler.java b/org.adempiere.pipo.handlers/src/org/adempiere/pipo2/handler/TabElementHandler.java index 83642d1878..53e72aa314 100644 --- a/org.adempiere.pipo.handlers/src/org/adempiere/pipo2/handler/TabElementHandler.java +++ b/org.adempiere.pipo.handlers/src/org/adempiere/pipo2/handler/TabElementHandler.java @@ -128,7 +128,7 @@ public class TabElementHandler extends AbstractElementHandler { //Fields tags. String sql = "SELECT AD_Field_ID FROM AD_FIELD WHERE AD_TAB_ID = " + AD_Tab_ID - + "ORDER BY SEQNO asc"; + + " ORDER BY SEQNO asc"; PreparedStatement pstmt = null; ResultSet rs = null; try {