DDC-233: Impossible to pass parameters through AbstractQuery::execute method #288

Open
opened 2026-01-22 12:33:34 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (Jan 4, 2010).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user cloun:

$query = $this->_em->createQuery("select u from Doctrine\Tests\Models\CMS\CmsUser u where u.username = ?1");
$query->execute(array(1 => 42)); // throws execption 'invalid parameter position 0'

Originally created by @doctrinebot on GitHub (Jan 4, 2010). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user cloun: $query = $this->_em->createQuery("select u from Doctrine\Tests\Models\CMS\CmsUser u where u.username = ?1"); $query->execute(array(1 => 42)); // throws execption 'invalid parameter position 0'
admin added the Bug label 2026-01-22 12:33:34 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#288