You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently upgraded from an old version of Doctrine to the latest stable version. Several of my sequence names seem to have been ignored. An example XML mapper is shown below with the sequence-name="MYPROJECT.CARD_REQUESTS_REQUEST_ID_SEQ". The original project had a sequence naming convention of {table}_{pk}_SEQ.
When trying to debug the sequence not found error that I was receiving, I noticed that the UnitOfWork.php file was using a sequence of "MYPROJECT.CARD_REQUESTS_SEQ".
UnitOfWork.php Line 978
$idGen = $class->idGenerator;
Questions: Does Doctrine support custom sequence naming for Oracle sequences? Should this be considered a bug? Am I forced to the naming convention that Doctrine uses?
Note, I've recently corrected the problem by adding a Synonym for each sequence name. In any case, I thought I'd bring it up here in the discussions.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've recently upgraded from an old version of Doctrine to the latest stable version. Several of my sequence names seem to have been ignored. An example XML mapper is shown below with the sequence-name="MYPROJECT.CARD_REQUESTS_REQUEST_ID_SEQ". The original project had a sequence naming convention of {table}_{pk}_SEQ.
When trying to debug the sequence not found error that I was receiving, I noticed that the UnitOfWork.php file was using a sequence of "MYPROJECT.CARD_REQUESTS_SEQ".
UnitOfWork.php Line 978
$idGen = $class->idGenerator;
Questions: Does Doctrine support custom sequence naming for Oracle sequences? Should this be considered a bug? Am I forced to the naming convention that Doctrine uses?
Note, I've recently corrected the problem by adding a Synonym for each sequence name. In any case, I thought I'd bring it up here in the discussions.
`
Beta Was this translation helpful? Give feedback.
All reactions