mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-2477: [GH-681] Sequence generator fix #3107
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?
Originally created by @doctrinebot on GitHub (May 29, 2013).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of lighthart:
Url: https://github.com/doctrine/doctrine2/pull/681
Message:
$this->_sequenceName=$em->getClassMetadata(get_class($entity))->sequenceGeneratorDefinition['sequenceName'];
The sequence generator does not read the class metadata, so if there is table remapping via event listeners, any new entity won't have the appropriate changes in table names.
This pull request adds a remap the Sequence Generator to read the class metadata to determine the sequence name if there is an entity passed to the generate function.
Tests: 1854, Assertions: 6224, Skipped: 96.
@doctrinebot commented on GitHub (May 29, 2013):
@doctrinebot commented on GitHub (Oct 16, 2014):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-681] was assigned:
https://github.com/doctrine/dbal/pull/681
@doctrinebot commented on GitHub (Oct 16, 2014):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-681] was closed:
https://github.com/doctrine/dbal/pull/681
@doctrinebot commented on GitHub (Jan 13, 2015):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-681] was closed:
https://github.com/doctrine/doctrine2/pull/681
@doctrinebot commented on GitHub (Jan 13, 2015):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-681] was assigned:
https://github.com/doctrine/doctrine2/pull/681
@doctrinebot commented on GitHub (Jan 13, 2015):
Issue was closed with resolution "Incomplete"