IDEMPIERE-4603 Find * character cause postgresql error (#476)

This commit is contained in:
Carlos Ruiz 2020-12-20 07:30:40 +01:00 committed by GitHub
parent f81c5bd954
commit a5d6a23f15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -37,6 +37,7 @@ import java.util.Vector;
import java.util.logging.Level; import java.util.logging.Level;
import java.util.regex.Pattern; import java.util.regex.Pattern;
import org.adempiere.exceptions.DBException;
import org.adempiere.webui.AdempiereWebUI; import org.adempiere.webui.AdempiereWebUI;
import org.adempiere.webui.ClientInfo; import org.adempiere.webui.ClientInfo;
import org.adempiere.webui.LayoutUtils; import org.adempiere.webui.LayoutUtils;
@ -2422,7 +2423,7 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
} }
catch (SQLException e) catch (SQLException e)
{ {
log.log(Level.SEVERE, finalSQL, e); throw new DBException(e);
} }
finally finally
{ {