diff --git a/UPGRADE_TO_2_0 b/UPGRADE_TO_2_0 index 66e00e0ab..ebbdcb0b9 100644 --- a/UPGRADE_TO_2_0 +++ b/UPGRADE_TO_2_0 @@ -1,3 +1,10 @@ +# Update from 2.0-BETA2 to 2.0-BETA3 + +## Default Allocation Size for Sequences + +The default allocation size for sequences has been changed from 10 to 1. This step was made +to not cause confusion with users and also because it is partly some kind of premature optimization. + # Update from 2.0-BETA1 to 2.0-BETA2 There are no backwards incompatible changes in this release. diff --git a/lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php b/lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php index 537aaf3a3..fb7871c74 100644 --- a/lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php +++ b/lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php @@ -119,7 +119,7 @@ final class JoinTable extends Annotation { } final class SequenceGenerator extends Annotation { public $sequenceName; - public $allocationSize = 10; + public $allocationSize = 1; public $initialValue = 1; } final class ChangeTrackingPolicy extends Annotation {}