2009-10-15 00:18:36 +04:00
|
|
|
|
2010-03-15 20:19:00 +03:00
|
|
|
# Upgrade from 2.0-ALPHA4 to 2.0-BETA1
|
2010-01-27 01:03:26 +03:00
|
|
|
|
2010-03-15 20:19:00 +03:00
|
|
|
## Default Property for Field Mappings
|
2010-01-27 01:03:26 +03:00
|
|
|
|
2010-03-15 20:19:00 +03:00
|
|
|
The "default" option for database column defaults has been removed. If desired, database column defaults can
|
|
|
|
be implemented by using the columnDefinition attribute of the @Column annotation (or the approriate XML and YAML equivalents).
|
|
|
|
Prefer PHP default values, if possible.
|
2010-01-27 01:03:26 +03:00
|
|
|
|
2010-02-26 00:16:05 +03:00
|
|
|
## Partial Objects
|
|
|
|
|
2010-03-15 20:19:00 +03:00
|
|
|
xxx
|
|
|
|
|
2010-02-26 00:16:05 +03:00
|
|
|
## XML Mapping Driver
|
|
|
|
|
|
|
|
The 'inheritance-type' attribute changed to take last bit of ClassMetadata constant names, i.e.
|
|
|
|
NONE, SINGLE_TABLE, INHERITANCE_TYPE_JOINED
|
|
|
|
|
2010-03-15 20:19:00 +03:00
|
|
|
## PreUpdate Event Listeners
|
2010-03-15 01:16:15 +03:00
|
|
|
|
|
|
|
Event Listeners listening to the 'preUpdate' event can only affect the primitive values of entity changesets
|
|
|
|
by using the API on the `PreUpdateEventArgs` instance passed to the preUpdate listener method. Any changes
|
|
|
|
to the state of the entitys properties won't affect the database UPDATE statement anymore. This gives drastic
|
|
|
|
performance benefits for the preUpdate event.
|
|
|
|
|