diff --git a/org.adempiere.base/src/org/adempiere/process/UUIDGenerator.java b/org.adempiere.base/src/org/adempiere/process/UUIDGenerator.java index d0b3117d32..734df49548 100644 --- a/org.adempiere.base/src/org/adempiere/process/UUIDGenerator.java +++ b/org.adempiere.base/src/org/adempiere/process/UUIDGenerator.java @@ -73,6 +73,9 @@ public class UUIDGenerator extends SvrProcess { if (!tableName.endsWith("%")) tableName = tableName + "%"; String sql = "SELECT AD_Table_ID, TableName FROM AD_Table WHERE TableName like ? AND IsView = 'N' AND IsActive='Y'"; + if (DB.isOracle()) { + sql = sql + " ESCAPE '\' "; + } PreparedStatement stmt = null; ResultSet rs = null; int count = 0;