-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Oracle] DBAL 4 Bind outputs for stored procedure #6782
Comments
Hello, We have the same problem here. As mentioned by @philippedasilva the method We can see it in file
In addition, in file
Is it possible to fix this or do you have any workaround for this issue ? Thx |
Link to the deprecating PR: #5563 |
Prepared statements (which is the only valid case for output parameters I can think of) is not part of the database abstraction defined by the library, and we cannot support every feature of every driver and platform here. Please consider using |
Hello, Thank for your reply. I think if you pass the |
Summary
Hello,
In previous versions (dbal < 4) I used "Doctrine\DBAL\Driver\OCI8\bindParam" to assign inputs and outputs on an Oracle procedure and it worked fine!
But since version 4, the method "Doctrine\DBAL\Driver\OCI8\bindParam" has been removed.
But the method "Doctrine\DBAL\Driver\OCI8\bindValue" doesn't seem to have the output option! I can't get my outputs after calling my procedure.
Do you have an alternative method/process to get the outputs from the procedure ?
Current behavior
With "bindValue" I can easily assign my inputs of procedure.
But my outputs are always null !
Exemple of code :
Expected behavior
var_dump($output1); --Expected to have 'output1' as value
In "bindParam" method, the passed value is a reference but not in "bindValue" method.
The text was updated successfully, but these errors were encountered: