{"action":"created","issue":{"url":"https://api.github.com/repos/yajra/pdo-via-oci8/issues/24","repository_url":"https://api.github.com/repos/yajra/pdo-via-oci8","labels_url":"https://api.github.com/repos/yajra/pdo-via-oci8/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/yajra/pdo-via-oci8/issues/24/comments","events_url":"https://api.github.com/repos/yajra/pdo-via-oci8/issues/24/events","html_url":"https://github.com/yajra/pdo-via-oci8/issues/24","id":136625104,"number":24,"title":"CLOBS that have more than 32.767 characters","user":{"login":"dejan-babic","id":5164888,"avatar_url":"https://avatars.githubusercontent.com/u/5164888?v=3","gravatar_id":"","url":"https://api.github.com/users/dejan-babic","html_url":"https://github.com/dejan-babic","followers_url":"https://api.github.com/users/dejan-babic/followers","following_url":"https://api.github.com/users/dejan-babic/following{/other_user}","gists_url":"https://api.github.com/users/dejan-babic/gists{/gist_id}","starred_url":"https://api.github.com/users/dejan-babic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dejan-babic/subscriptions","organizations_url":"https://api.github.com/users/dejan-babic/orgs","repos_url":"https://api.github.com/users/dejan-babic/repos","events_url":"https://api.github.com/users/dejan-babic/events{/privacy}","received_events_url":"https://api.github.com/users/dejan-babic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yajra/pdo-via-oci8/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-26T08:07:32Z","updated_at":"2016-05-09T14:23:17Z","closed_at":null,"body":"It seems that the driver does not support CLOBS that have more than 32.767 characters. As far as I can see the problem is within `src/yajra/Pdo/Oci8/Statement.php`. The case of CLOBS is not covered so a possible solution is:\r\n```\r\ncase SQLT_CLOB:\r\n                $oci_type = OCI_B_CLOB;\r\n                $this->_returnLobs = true;\r\n                // create a new descriptor for lob-type\r\n                $variable = $this->_pdoOci8->getNewDescriptor();\r\n                break;\r\n```\r\nThe solution is not tested through, and it needs more investigation."},"comment":{"url":"https://api.github.com/repos/yajra/pdo-via-oci8/issues/comments/217878643","html_url":"https://github.com/yajra/pdo-via-oci8/issues/24#issuecomment-217878643","issue_url":"https://api.github.com/repos/yajra/pdo-via-oci8/issues/24","id":217878643,"user":{"login":"dejan-babic","id":5164888,"avatar_url":"https://avatars.githubusercontent.com/u/5164888?v=3","gravatar_id":"","url":"https://api.github.com/users/dejan-babic","html_url":"https://github.com/dejan-babic","followers_url":"https://api.github.com/users/dejan-babic/followers","following_url":"https://api.github.com/users/dejan-babic/following{/other_user}","gists_url":"https://api.github.com/users/dejan-babic/gists{/gist_id}","starred_url":"https://api.github.com/users/dejan-babic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dejan-babic/subscriptions","organizations_url":"https://api.github.com/users/dejan-babic/orgs","repos_url":"https://api.github.com/users/dejan-babic/repos","events_url":"https://api.github.com/users/dejan-babic/events{/privacy}","received_events_url":"https://api.github.com/users/dejan-babic/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T14:23:17Z","updated_at":"2016-05-09T14:23:17Z","body":"@yajra The workaround you suggested does not suit our needs, so in our specific case we needed to patch the file like described on:\r\nhttps://github.com/yajra/pdo-via-oci8/issues/24#issue-136625104\r\nCheers"}}