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

Bug

  • [DDC-511] - Schema tool does not support STI - attempts to create a table per subclass
  • [DDC-525] - STI Fields null vs not null behaviour
  • [DDC-533] - Cache keys are not limited to word characters
  • [DDC-629] - SchemaTool's method dropSchema, drops all classes instead of those specified in $classes argument
  • [DDC-630] - Column aliases are not properly quoted
  • [DDC-653] - Convert annotation mapping to xml having troubles with discriminator map
  • [DDC-671] - Table aliases wrongly computed with YAML + mappedsuperclasses and joins
  • [DDC-673] - yaml metadata allows integer(X) types but ignores the X
  • [DDC-711] - Compatibility with Codeigniter 1.7.2
  • [DDC-727] - Proxy instances should be able to get their correspondent ClassMetadata
  • [DDC-732] - Class Table Inheritance - wrong table order on insert with more than one level of inheritance
  • [DDC-736] - Nasty ordering issue with fetch-joins
  • [DDC-739] - DQL generates wrong SQL if id column has other name
  • [DDC-748] - BasicEntityPersister::refresh() broken with ManyToOne relationships
  • [DDC-749] - positional query parameters throwing a QueryException
  • [DDC-755] - Length of String column in a many to many bi-directional is 255 chars
  • [DDC-758] - When merging many to many entites back into the repository changes to the associations are not respected
  • [DDC-759] - More than one many-to-many relations cannot be created using default values
  • [DDC-761] - Associations between string fields result in mismatched column definitions on owning side
  • [DDC-762] - undefined index errors when the join-column of a relation is NULL
  • [DDC-767] - Updating many-to-many relations
  • [DDC-787] - Camelcase tablename lost when creating models based on the database
  • [DDC-793] - CLI doctrine.php tool should not hard code require_once paths -- leave the include path setup to cli-config.php
  • [DDC-796] - Inheritance Discriminator mapping fails when the parent class is after a subclass alphabetically
  • [DDC-802] - Missing variable $name in XmlExporter
  • [DDC-806] - XSD requires an id element before the first field element
  • [DDC-809] - ArrayHydrator and ObjectHydrator return different result sets for the same query
  • [DDC-812] - DQL hydration of joined objects skipped when main instance already present in entity manager
  • [DDC-815] - Identifier quoting does not work with unique columns in PostgreSQL
  • [DDC-816] - orm:schema-tool:create --dump-sql is preceded by invalid sql statements
  • [DDC-818] - MSSQL Locking not working in all places
  • [DDC-819] - Attempting to search a recursive relationship by null results in an error...
  • [DDC-820] - Nullable associations combined with a column definition generates a notice
  • [DDC-822] - Query with detached Entity as parameter fails to execute
  • [DDC-824] - EntityManager::remove($entity), EntityManager::flush() does not remove the entity from DB
  • [DDC-826] - Problem with @MappedSuperclass and associations
  • [DDC-830] - Missing prefix \ to switch to global space in Tools/EntityGenerator
  • [DDC-831] - Return value of getAssociationMapping in class Doctrine\ORM\Mapping\ClassMetadataInfo
  • [DDC-832] - Not quoted class name when updating entity
  • [DDC-833] - Internal Collection of a PersistentCollection is an Entity
  • [DDC-834] - EntityManager::getReference may return proxy for parent class when using class table inheritance
  • [DDC-839] - Error when trying to update PersistentCollection
  • [DDC-841] - Generated SQL contains non-existen alias
  • [DDC-853] - Mysql: Drop schema for entities doesnt work if Database contains already tables with 'enum' Field
  • [DDC-855] - [patch] EntityGenerator add an extra return line at each call ...
  • [DDC-856] - Boolean discriminator field for single table inheritance does not work as expected with MySQL
  • [DDC-866] - The EBNF definition for DQL needs to be updated
  • [DDC-867] - QueryBuilder clone only does shallow clone
  • [DDC-868] - ORM:Schema-tool:create failure -- the result depends on xml files enumeration order of RecursiveDirectoryIterator in context of SINGLE_TABLE inherantence
  • [DDC-870] - @Version causes integer fields to return a string
  • [DDC-876] - CLI Global namespace forced on all Entity generated TypeHinting
  • [DDC-880] - Metadata XSD is out of sync
  • [DDC-882] - The constructor type hinting of LoadClassMetadataEventArgs is not good
  • [DDC-886] - Mapped Supperclass composite identifier is ignored in child class
  • [DDC-895] - Generated XML is not valid (because of order)
  • [DDC-909] - Doctrine 2 AbstractQuery:: _getResultCacheId() fails when an Entity instance is used as a param (recursive references and var_export don't mix)

Improvement

  • [DDC-514] - Default for discriminator column
  • [DDC-573] - Provide generic resetDQLPart() and resetDQLParts() methods in QueryBuilder
  • [DDC-666] - @ManyToMany JoinTable defaults - Allow only table name
  • [DDC-722] - EntityRepository::find(One?)By should also support Associations
  • [DDC-784] - Add Windows CLI command and remove doctrine.php
  • [DDC-797] - WHERE EXISTS example code doesn't make sense in docs
  • [DDC-798] - Clarify param term in MEMBER OF example in DQL docs
  • [DDC-861] - Improve ProxyFactory to avoid having to use Autoloader
  • [DDC-873] - @Version and Single Table
  • [DDC-888] - PHP stars to complain if no joinColumns/inverseJoinColumns provided for JoinTable annotation
  • [DDC-897] - Make ClassMetadataFactory configurable
  • [DDC-899] - Add an unobtrusive way to determine if entity manager is closed

New Feature

  • [DDC-817] - Repository Query by associated ID
  • [DDC-859] - Datetime object changeset computing
  • [DDC-860] - loadClassMetadata event on event listeners

Edit/Copy Release Notes

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