Skip to content

Loading…

DDC-2477: [GH-681] Sequence generator fix #3195

Closed
doctrinebot opened this Issue · 6 comments

2 participants

@doctrinebot

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of lighthart:

Url: #681

Message:

$this->sequenceName=$em->getClassMetadata(getclass($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

Comment created by @doctrinebot:

A related Github Pull-Request [GH-681] was assigned:
doctrine/dbal#681

@doctrinebot

Comment created by @doctrinebot:

A related Github Pull-Request [GH-681] was closed:
doctrine/dbal#681

@doctrinebot

Comment created by @doctrinebot:

A related Github Pull-Request [GH-681] was closed:
#681

@doctrinebot

Comment created by @doctrinebot:

A related Github Pull-Request [GH-681] was assigned:
#681

@doctrinebot

Issue was closed with resolution "Incomplete"

@Ocramius Ocramius was assigned by doctrinebot
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.