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

Oracle / SelectDecorator.php don't manage TableIdentifier object #6411

Closed
gaellm opened this issue Jun 24, 2014 · 1 comment
Closed

Oracle / SelectDecorator.php don't manage TableIdentifier object #6411

gaellm opened this issue Jun 24, 2014 · 1 comment

Comments

@gaellm
Copy link

gaellm commented Jun 24, 2014

Hi,
I use a TableIdentifier object to discribe my table, all others components manage it but Zend\Db\Sql\Platform\Oracle\SelectDecorator.php. On processJoins() method, the call to $platform->quoteIdentifier() generate an issue "Object of class Zend\Db\Sql\TableIdentifier could not be converted to string ..."

I have bypassed it commenting the method processJoins() to use the implemented one from Select class.

To reproduce:
with Oracle plateform :
$select = new Select();
$table = new TableIdentifier('TABLE1','SCHEMA1');
$table2 = new TableIdentifier('TABLE2','SCHEMA2');
$select->from($table);
$select->join($table2, "TABLE2.ID = TABLE1.TABLE2ID", array('FIELD_TABLE2'), 'left');
$resultSet = $this->tableGateway->selectWith($select);

Regards,
Gaël

@GeeH
Copy link

GeeH commented Jun 27, 2016

This issue has been closed as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html

@GeeH GeeH closed this as completed Jun 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants