Fixes error with ORA-03131 in oracle stored procedures #167

Merged
merged 5 commits into from Jul 29, 2012

Conversation

Projects
None yet
5 participants
@ghost
Contributor

ghost commented Jul 7, 2012

driver function
To avoid ORA-03131(an invalid buffer was provided for the next piece) error, data length must be passed to oci_bind_by_name function.
This commit fixes it so now pdo_oci can be used with stored procedures and output parameters from sql/plsql.

Member

stof commented Jul 7, 2012

you should not remove the submodules

This pull request fails (merged 17a265d into 78dbf28).

ivan added some commits Jul 7, 2012

Fixed error with ORA-03131 in oracle stored procedures
bindParam function expects length parameter for oci_bind_by_name oci8

This pull request passes (merged ba7aa61 into 78dbf28).

@ghost ghost closed this Jul 7, 2012

@ghost ghost reopened this Jul 7, 2012

This pull request fails (merged 4a6cfd9 into 78dbf28).

@ghost
Contributor

ghost commented Jul 7, 2012

I've found that this patch also fix error with oracle insert returning clause which can be used as some sort of lastinsertid function

Member

stof commented Jul 7, 2012

except that this breaks the library because you changed the interface (which is a BC break) without updating the implementations available in the library (which is an easy way to see that changing the interface is a BC break btw)

This pull request passes (merged 2147fc4 into 78dbf28).

@ghost ghost closed this Jul 7, 2012

@ghost ghost reopened this Jul 7, 2012

This pull request passes (merged 2147fc4 into 78dbf28).

beberlei added a commit that referenced this pull request Jul 29, 2012

Merge pull request #167 from AduroIdea/master
Fixes error with ORA-03131 in oracle stored procedures

@beberlei beberlei merged commit c52a863 into doctrine:master Jul 29, 2012

Somebody knows how to call a orcale procedure from symfony?

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