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
This commit is contained in:
freddyheredia4 2022-12-21 11:08:20 -05:00 committed by GitHub
parent 06b02889f8
commit 6e90caeb39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 {