Issue Type: Bug Created: 2012-03-03T10:26:13.000+0000 Last Updated: 2012-03-03T12:58:50.000+0000 Status: Resolved Fix version(s): Reporter: Robert Basic (robertbasic) Assignee: Robert Basic (robertbasic) Tags: - Zend\Db
Related issues: Attachments:
In Zend/Db/Adapter/Driver/Pdo/Statement.php on line 218 when throwing an InvalidQueryException it tries to access $this->resource->error for the exception message.
PDO and PDOStatement have "errorCode"  and "errorInfo"  methods for getting information about the errors.
I am/was testing with beta3 and Rob Allen's ZF2 tutorial.
Pull request is on it's way.
php -v PHP 5.3.10
Posted by Robert Basic (robertbasic) on 2012-03-03T10:49:35.000+0000
Pull request sent: https://github.com/zendframework/zf2/pull/878
Posted by Robert Basic (robertbasic) on 2012-03-03T12:58:50.000+0000
Pull request was merged by Rob Allen.
Have you found an issue?
See the Overview section for more details.