Clarified docs on identifier generation strategies.
This commit is contained in:
parent
4121c1ca72
commit
c18e23b817
@ -250,6 +250,8 @@ Doctrine can generate identifier values for the allocationSizes amount of entiti
|
|||||||
`allocationSize=100` Doctrine 2 would only need to access the sequence once to generate the identifiers for
|
`allocationSize=100` Doctrine 2 would only need to access the sequence once to generate the identifiers for
|
||||||
100 new entities.
|
100 new entities.
|
||||||
|
|
||||||
|
*The default allocationSize for a @SequenceGenerator is currently 10.*
|
||||||
|
|
||||||
> **CAUTION**
|
> **CAUTION**
|
||||||
> The allocationSize is detected by SchemaTool and transformed into an "INCREMENT BY <allocationSize>" clause
|
> The allocationSize is detected by SchemaTool and transformed into an "INCREMENT BY <allocationSize>" clause
|
||||||
> in the CREATE SEQUENCE statement. For a database schema created manually (and not SchemaTool) you have to
|
> in the CREATE SEQUENCE statement. For a database schema created manually (and not SchemaTool) you have to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user