[DDC-1840] Create ParameterCollection indexed and implement it on AbstractQuery and QueryBuilder Created: 26/May/12  Updated: 17/Jan/15  Resolved: 17/Jan/15

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: None
Affects Version/s: None
Fix Version/s: 2.3
Security Level: All

Type: Improvement Priority: Major
Reporter: Guilherme Blanco Assignee: Marco Pivetta
Resolution: Fixed Votes: 0
Labels: None


Currently, method setParameters in AbstractQuery and QueryBuilder only appends new parameters to the list. It should actually override the existing ones.
To be able to correctly fix this, we need to create a ParameterCollection which we can use/reuse to set/remove/append new parameters.
These elements should also support parameter types.

Comment by Benjamin Eberlei [ 27/May/12 ]

Not a bug

Comment by Marco Pivetta [ 17/Jan/15 ]

Already resolved in 2.3.x

Generated at Wed Nov 25 19:21:02 EST 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.