Hi,
I want to use a custom id generator on a composite key, but i get this
error:
* "Entity '...' has a composite identifier but uses an ID generator
other than manually assigning (Identity, Sequence). This is not supported."*
The exception seems to be thrown by this code, which is executed if a
generation strategy other than NONE is used:
if ($this->usesIdGenerator() && $this->isIdentifierComposite) {
throw
MappingException::compositeKeyAssignedIdGeneratorRequired($this->name);
}
Shouldn't it be allowed to use the CUSTOM strategy on composite keys too?
best,
kai
--
You received this message because you are subscribed to the Google Groups
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.