You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "mridulpathak (via GitHub)" <gi...@apache.org> on 2026/09/27 07:39:08 UTC
[PR] Fixed: DELETE statements built from EntityCondition inlined values as SQL literals instead of binding them (OFBIZ-13620) [ofbiz-framework]
mridulpathak opened a new pull request, #2119:
URL: https://github.com/apache/ofbiz-framework/pull/2119
GenericDAO.deleteByCondition() called condition.makeWhereString() with a null EntityConditionParam list, which caused every value in the generated DELETE's WHERE clause to be inlined into the SQL text as a literal instead of bound as a JDBC parameter, the same way the existing SELECT/UPDATE code paths in this class already do.
Builds and binds a real EntityConditionParam list instead, mirroring updateByCondition's existing pattern.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fixed: DELETE statements built from EntityCondition inlined values as SQL literals instead of binding them (OFBIZ-13620) [ofbiz-framework]
Posted by "mridulpathak (via GitHub)" <gi...@apache.org>.
mridulpathak merged PR #2119:
URL: https://github.com/apache/ofbiz-framework/pull/2119
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org