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:
parent
06b02889f8
commit
6e90caeb39
|
@ -128,7 +128,7 @@ public class TabElementHandler extends AbstractElementHandler {
|
||||||
|
|
||||||
//Fields tags.
|
//Fields tags.
|
||||||
String sql = "SELECT AD_Field_ID FROM AD_FIELD WHERE AD_TAB_ID = " + AD_Tab_ID
|
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;
|
PreparedStatement pstmt = null;
|
||||||
ResultSet rs = null;
|
ResultSet rs = null;
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue