mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #761] [CLOSED] Add table alias to column names #8673
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/761
Author: @patrickli
Created: 8/19/2013
Status: ❌ Closed
Base:
master← Head:m2m-table-alias📝 Commits (10+)
3e53d9dChanged commands to use command.name in the help5b55739Moved implementation from EntityRepository to EntityManager. This decouples ER implementation from EM, as it should be.2389f77Fixed DefaultRepositoryClassName which should follow the Persistence interface, not ORM class.2158a07[2.3] Use HelperSet in cli-config.phpac9df05Fixed is_subclass_of comparing an interface which brought our requirement to 5.3.9. Changed to reflection approach which still keep us at the same dependency as before.369a30aAdded the new DBAL 2.3 types in the EntityGenerator typehint mapbd1e6acMerge pull request #410 from igorw/helper-set13d32e6Merge remote-tracking branch 'origin/2.3' into 2.3ef27721Merge remote-tracking branch 'origin/2.3' into 2.3dfa6ff6DDC-1939 - Removing references to non-existing AssociationMapping class📊 Changes
104 files changed (+3434 additions, -678 deletions)
View changed files
📝
UPGRADE.md(+8 -0)📝
composer.json(+2 -2)📝
doctrine-mapping.xsd(+1 -0)📝
lib/Doctrine/ORM/AbstractQuery.php(+17 -1)📝
lib/Doctrine/ORM/EntityRepository.php(+5 -3)➕
lib/Doctrine/ORM/Id/BigIntegerIdentityGenerator.php(+66 -0)📝
lib/Doctrine/ORM/Id/IdentityGenerator.php(+9 -5)📝
lib/Doctrine/ORM/Internal/Hydration/ArrayHydrator.php(+30 -23)📝
lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php(+4 -3)📝
lib/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php(+4 -1)📝
lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php(+18 -12)📝
lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php(+8 -3)📝
lib/Doctrine/ORM/Mapping/DefaultNamingStrategy.php(+1 -1)📝
lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php(+0 -37)📝
lib/Doctrine/ORM/Mapping/Driver/DatabaseDriver.php(+6 -1)📝
lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php(+29 -11)📝
lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php(+8 -1)📝
lib/Doctrine/ORM/Mapping/MappingException.php(+2 -2)📝
lib/Doctrine/ORM/Mapping/NamingStrategy.php(+1 -2)📝
lib/Doctrine/ORM/Mapping/UnderscoreNamingStrategy.php(+1 -1)...and 80 more files
📄 Description
ManyToManyPersisterdoes not add table alias to column names in multi-tableSELECTqueries. This will cause SQL servers complain about condition columns in where clause are ambiguous.Replaces #760.
The commit I want to merge is
6229f3e.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.