{"action":"opened","issue":{"url":"https://api.github.com/repos/auraphp/Aura.Sql/issues/90","labels_url":"https://api.github.com/repos/auraphp/Aura.Sql/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/auraphp/Aura.Sql/issues/90/comments","events_url":"https://api.github.com/repos/auraphp/Aura.Sql/issues/90/events","html_url":"https://github.com/auraphp/Aura.Sql/issues/90","id":54346600,"number":90,"title":"sqlsrv PDO Exception","user":{"login":"MarcusFulbright","id":2130243,"avatar_url":"https://avatars.githubusercontent.com/u/2130243?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcusFulbright","html_url":"https://github.com/MarcusFulbright","followers_url":"https://api.github.com/users/MarcusFulbright/followers","following_url":"https://api.github.com/users/MarcusFulbright/following{/other_user}","gists_url":"https://api.github.com/users/MarcusFulbright/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcusFulbright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcusFulbright/subscriptions","organizations_url":"https://api.github.com/users/MarcusFulbright/orgs","repos_url":"https://api.github.com/users/MarcusFulbright/repos","events_url":"https://api.github.com/users/MarcusFulbright/events{/privacy}","received_events_url":"https://api.github.com/users/MarcusFulbright/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-14T16:56:39Z","updated_at":"2015-01-14T16:56:39Z","closed_at":null,"body":"I'm running php 5.5.20 in windows with the sqlsrv extensions enabled (thread safe). When connecting to the DB with an ExtendedPdo object, I get the following error: \r\n`PDOException: SQLSTATE[IMSSP]: The given attribute is only supported on the PDOStatement object.`  \r\n\r\nI'm sure that this is a problem with the ExtendedPdo object because the following code using Vanilla PDO works just fine:\r\n\r\n```php\r\n    $pdo = new \\PDO(\r\n         'sqlsrv:Server=my_server ; DataBase=My_DB',\r\n         $userName,\r\n         $password\r\n     );\r\n\r\n    $smt = $pdo->prepare('Select Top 10 * From My_table');\r\n    $stmt->execute();\r\n    $result = $stmt->fetchAll(\\PDO::FETCH_ASSOC);\r\n// yields the appropriate associative array of results\r\n```\r\n\r\nWhen I try to accomplish the same thing with ExtendedPdo it doesn't work:\r\n\r\n```php\r\n    $pdo = new ExtendedPdo(\r\n        'sqlsrv:Server=My_Server ; DataBase=My_DB',\r\n        $userName,\r\n        $password\r\n    );\r\n    $stmt = 'Select Top 10 * From My_table';\r\n    $result = $pdo->fetchAll($stmt);\r\n\r\n//yields the error: \r\n//PDOException: SQLSTATE[IMSSP]: The given attribute is only supported on the PDOStatement object.\r\n```\r\nWith the extended PDO this error seems to get triggered as soon as it tries to establish a connection to the DB. Calling `connect()`, `prepare()`, and `fetch*()` yields exactly the same behavior. Am I doing something wrong or is there a compatibility issue with ExtendedPdo and sqlsrv?  \r\n\r\n "}}