DDC-1560: ParameterTypeInferer misses boolean type #1955

Closed
opened 2026-01-22 13:33:24 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Dec 23, 2011).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user felicitus:

The class ParameterTypeInferer misses infering for boolean types.

I noticed this only because $query->setParameter("test", false) didn't work, but $query->setParameter("test", false) did on the PostgreSQL platform.

Specifying \PDO::PARAM_BOOL explicitely as argument to setParameter works.

Originally created by @doctrinebot on GitHub (Dec 23, 2011). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user felicitus: The class ParameterTypeInferer misses infering for boolean types. I noticed this only because $query->setParameter("test", false) didn't work, but $query->setParameter("test", false) did on the PostgreSQL platform. Specifying \PDO::PARAM_BOOL explicitely as argument to setParameter works.
admin added the Bug label 2026-01-22 13:33:24 +01:00
admin closed this issue 2026-01-22 13:33:27 +01:00
Author
Owner

@doctrinebot commented on GitHub (Dec 28, 2011):

Comment created by @beberlei:

This is fixed in 2.2

@doctrinebot commented on GitHub (Dec 28, 2011): Comment created by @beberlei: This is fixed in 2.2
Author
Owner

@doctrinebot commented on GitHub (Dec 28, 2011):

Issue was closed with resolution "Duplicate"

@doctrinebot commented on GitHub (Dec 28, 2011): Issue was closed with resolution "Duplicate"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1955