Release Notes - Doctrine 2 - ORM - Version 2.0-ALPHA4 - HTML format

Bug

  • [DDC-40] - Sequences gets increased by 20 instead of 10
  • [DDC-69] - Print OneToMany Mapping is empty if the next object is the same as the last object
  • [DDC-74] - Updates get lost when Lifecycle Events (@PreUpdate) are invoked
  • [DDC-89] - Add decimal scale/precision detection to all schema managers
  • [DDC-90] - Simple Indexes not supported by SchemaTool
  • [DDC-94] - Queries executed through StandardEntityPersister load(), loadAll(), etc. are not logged.
  • [DDC-97] - \Doctrine\ORM\Mapping\Driver\Driver::preload($force=false) is missing
  • [DDC-98] - SchemaToolTask's use of Driver\preload() is not "deterministic"
  • [DDC-113] - Cascaded persist avoids LifecycleCallbacks
  • [DDC-122] - Not specifying a Metadata Cache at all leads to fatal error in EM
  • [DDC-132] - Subclass' columns missing from cached ClassMetadata::$resultColumnNames
  • [DDC-137] - Only last relation id updated with multiple one-to-one self-referencing relations
  • [DDC-140] - hydrateAdd does not update originalEntityData
  • [DDC-141] - DQL with WHERE queries on Single Table Inheritance Entities fail
  • [DDC-144] - Class table inheritance: Attempt to insert an entity class that does not add any properties to the class hierarchy fails.
  • [DDC-145] - Cascaded delete on a lazyloaded persistent collection
  • [DDC-146] - Select where clause is broken with @InheritanceType("SINGLE_TABLE")
  • [DDC-147] - AnnotationDriver::preload needs caching
  • [DDC-148] - SchemaTool does not recognize unique constraint
  • [DDC-149] - No owner found for field when selecting from a table with @InheritanceType SINGLE_TABLE
  • [DDC-150] - Discriminator column is lost when persisting entity.
  • [DDC-151] - Cache driver is instantiated multiple times
  • [DDC-152] - Polymorphic queries and fields of subclasses
  • [DDC-155] - [2.0] ProxyFactory generates two __sleep methods()
  • [DDC-158] - Removing relation in many-to-many association
  • [DDC-159] - XmlDriver repository-class element causes exception
  • [DDC-162] - sqlLogger does not log everything
  • [DDC-164] - find() not polymoprhic with single table inheritance
  • [DDC-165] - Uninitialized proxy objects with default values wrongly considered dirty.
  • [DDC-168] - serialization/unserialization of ClassMetadata lose reflFields order causing insertSql statement to fail
  • [DDC-171] - Cascade persist update foreign key for all unchanged entities
  • [DDC-175] - Drop and create database should use postgres user for pgsql connections
  • [DDC-176] - Query::iterate is broken when using JOIN
  • [DDC-179] - Time part of Date fields is initialized with current time instead of 00:00:00
  • [DDC-180] - [patch] The SmallIntType does not extend the default Type class
  • [DDC-182] - Changing entity in preUpdate hook tramples existing changes
  • [DDC-183] - Annotation parser barfs on "@something at."
  • [DDC-185] - 2 Test failures on Oracle OCI8
  • [DDC-186] - addIndex is borken in trunk since this morning update
  • [DDC-187] - JOIN fails with inherited entities
  • [DDC-191] - Case sensitive columnName's don't work anymore
  • [DDC-192] - Composite primary key workaround stopped working after SchemaTool refactoring
  • [DDC-194] - @PostLoad + proxy creates infinite recursion
  • [DDC-197] - OCI8 does handle CLOBS differently than all PDO drivers
  • [DDC-198] - createQueryBuilder does not insert alias into "from" part
  • [DDC-199] - collection-valued, polymorphic fetch joins broken (hydration)
  • [DDC-202] - Left Joining on an empty previous join results spl_object_hash warning
  • [DDC-206] - XML Mapping Driver should be case-insensitive in regard to <generator type="" /> values.
  • [DDC-207] - XML Mapping XSD file misses description of <many-to-one> element
  • [DDC-211] - Exception is thrown after many calls to flush()
  • [DDC-215] - not null is not working using YAML
  • [DDC-216] - PersistentCollection#toArray() should call _initialize()
  • [DDC-218] - @Version column is not reflected in resultColumnNames in StandardEntityPersister, generates E_NOTICE
  • [DDC-221] - ClassLoader breaks when className starts with \
  • [DDC-223] - Alternative for $globalArguments after CLI refactoring
  • [DDC-224] - CLI examples are incorrect
  • [DDC-225] - ConvertMappingTask invalid method _getSourceByType($type, $source)
  • [DDC-229] - Changeset 6982 breakage
  • [DDC-232] - toArray of PersistentCollection returns an empty collection
  • [DDC-233] - Impossible to pass parameters through AbstractQuery::execute method
  • [DDC-234] - CLONE -createQueryBuilder does not insert alias into "from" part
  • [DDC-237] - Proxies are not initialized during hydration of a fetch-joined assocation.
  • [DDC-238] - PersistentCollection is not initialized when toArray() is called
  • [DDC-242] - CLONE - XML Mapping XSD file misses description of <many-to-one> element
  • [DDC-243] - XML many-to-many mapping broken and xsd incomplete
  • [DDC-248] - Exception is thrown during deserialization of the class 'ClassMetadata' if it contains child type
  • [DDC-251] - ArrayCollection::__construct() must be an array, object given
  • [DDC-263] - YAML and XML Driver do not support cascading options "all", "detach". Also: Improvement of YAML Syntax (Patch attached)

Improvement

  • [DDC-106] - Fix and Improve SchemaManager Tests for all platforms
  • [DDC-123] - PDO throws an exception when parameters are missing or mismatch, DC throws php warnings
  • [DDC-154] - SchemaTool generates cryptic error message in case of typos on referenced column names
  • [DDC-169] - Refactor DBAL DDL Code
  • [DDC-200] - Support for "columnDefinition" in @Column
  • [DDC-208] - AbstractQuery::getSingleResult() should throw exception if no row is found
  • [DDC-212] - Disable mysql foreign key check for dropping database
  • [DDC-228] - Throw an exception if statement execution was failed
  • [DDC-253] - Drivers should only fetch items that they are responsible for
  • [DDC-300] - RunSqlTask needs the ability to parse an SQL file

New Feature

  • [DDC-127] - IterableResult should implement Iterator

Edit/Copy Release Notes

The text area below allows the project release notes to be edited and copied to another document.