Permalink
Browse files

[DDC-577] Updated allocationSize to 1 based on discussion on DDC-569.

  • Loading branch information...
1 parent 496a34a commit 5719f8523bbb3c8a6fd11c749e5317b238d3d2b3 Guilherme Blanco committed Aug 12, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php
@@ -393,7 +393,7 @@ private function _completeIdGeneratorMapping(ClassMetadataInfo $class)
if ( ! $definition) {
$sequenceName = $class->getTableName() . '_' . $class->getSingleIdentifierColumnName() . '_seq';
$definition['sequenceName'] = $this->_targetPlatform->fixSchemaElementName($sequenceName);
- $definition['allocationSize'] = 10;
+ $definition['allocationSize'] = 1;
$definition['initialValue'] = 1;
$class->setSequenceGeneratorDefinition($definition);
}

0 comments on commit 5719f85

Please sign in to comment.