Skip to content
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

DBAL-1283: Oracle parameter binding broken #1237

Closed
doctrinebot opened this issue Aug 20, 2015 · 4 comments
Closed

DBAL-1283: Oracle parameter binding broken #1237

doctrinebot opened this issue Aug 20, 2015 · 4 comments
Assignees
Labels
Milestone

Comments

@doctrinebot
Copy link

Jira issue originally created by user deepdiver:

On insert statements parameters are all bound to the last parameter value.

Please test with following test script

'XE', 'user' => 'autotest', 'password' => 'owncloud', 'host' => '10.0.0.7', 'port' => 1521, 'driver' => 'oci8', ); $conn = \Doctrine\DBAL\DriverManager::getConnection($connectionParams, $config); $conn->connect(); $conn->executeUpdate('DROP TABLE TEST'); $conn->executeUpdate('CREATE TABLE TEST(A VARCHAR2(4000) NOT NULL, B VARCHAR2(4000) NOT NULL, C VARCHAR2(4000) NOT NULL)'); $conn->insert('TEST', [ 'A' => '1', 'B' => '2', 'C' => '3']); $all = $conn->fetchAll('select \* from TEST'); var_dump($all); see https://github.com/owncloud/core/issues/18425
@doctrinebot
Copy link
Author

Comment created by deepdiver:

In case you need a docker image with oracle to test: https://github.com/DeepDiver1975/docker-oracle-xe-11g/blob/master/README.md

@doctrinebot
Copy link
Author

Comment created by deepdiver:

Is there anything I can help out here? TBH: I don't get what the issue is at the end .... so ideas are welcome. THX

@morozov
Copy link
Member

morozov commented Oct 30, 2021

Fixed by #2434.

@morozov morozov closed this as completed Oct 30, 2021
@morozov morozov added this to the 2.5.5 milestone Oct 30, 2021
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants