Ajustment SequenceFeature generic drivers #3912

wants to merge 2 commits into


None yet
2 participants

romulobusatto commented Feb 27, 2013

Changed of ->getResource()->fetch(\PDO::FETCH_ASSOC) to ->current(), generic to all Drivers

romulobusatto added some commits Feb 27, 2013

Update library/Zend/Db/TableGateway/Feature/SequenceFeature.php
Changed of ->getResource()->fetch(\PDO::FETCH_ASSOC) to ->current(), generic to all Drivers
Update library/Zend/Db/Adapter/Driver/Pdo/Statement.php
When you use Oracle, and table with CLOB columns, through CActiveRecord, everything works well till You'll try to save to column string greater than 4000 chars.
When string is 4k+ chars You'll get OCI exception, I've tried forcing the PDO::PARAM_LOB within COciCommandBuilder but with no luck, PARAM_LOB is still not working with oci, but there is a work around.
Researching, I discovered that passing the string size, I save more than 4000 characters in a field clob. 
Tested and worked!

@ghost ghost assigned ralphschindler Mar 8, 2013


ralphschindler commented Mar 13, 2013

Could you remove the commit that changes the Pdo\Statement.php? I dont think that has much to do with the SequenceFeature change.

weierophinney added a commit that referenced this pull request Apr 16, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment