Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Ajustment SequenceFeature generic drivers #3912

Closed
wants to merge 2 commits into from
Closed

Ajustment SequenceFeature generic drivers #3912

wants to merge 2 commits into from

Conversation

romulobusatto
Copy link
Contributor

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

Changed of ->getResource()->fetch(\PDO::FETCH_ASSOC) to ->current(), generic to all Drivers
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
Copy link
Member

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants