No functional changes, simply formatting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817700 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1104,8 +1104,7 @@ public class GenericDAO {
|
||||
throw new org.apache.ofbiz.entity.GenericNotImplementedException("Operation delete not supported yet for view entities");
|
||||
}
|
||||
|
||||
StringBuilder sql = new StringBuilder().append("DELETE FROM ").append(modelEntity.getTableName(datasource))
|
||||
.append(" WHERE ");
|
||||
StringBuilder sql = new StringBuilder().append("DELETE FROM ").append(modelEntity.getTableName(datasource)).append(" WHERE ");
|
||||
SqlJdbcUtil.makeWhereStringFromFields(sql, modelEntity.getPkFieldsUnmodifiable(), entity, "AND");
|
||||
|
||||
int retVal;
|
||||
|
||||
Reference in New Issue
Block a user