1
0
mirror of synced 2025-02-11 01:39:26 +03:00
Anton Stöckl fa79de6ea4 Enable empty prefixes for inlined embeddable
This fixes http://www.doctrine-project.org/jira/browse/DDC-2987

This makes it possible to map a field from an embeddable to a database field with the same name, without any prefix added.

Example:
- an embeddable object "Id" with a property "id"
- per default this would map inline to id_id
- supplying null or '' as columnPrefix does not work due to the ! empty() check
- with my little change, if columnPrefix : false is supplied in the mapping config this will now map to a db column "id"

To build Ids as ValueObjects is a very common approach in DDD, so ihmo this is a must have.
2014-03-13 16:47:22 +01:00
..
2012-05-26 14:37:00 +02:00
2013-12-16 11:05:05 -05:00
2012-12-03 09:36:08 +00:00
2013-03-11 00:08:58 +00:00
2013-11-01 22:33:59 +01:00
2013-11-02 14:07:14 +01:00
2012-12-03 09:36:08 +00:00
2013-04-06 14:31:27 +00:00
2013-01-29 12:14:52 -02:00
2012-05-26 14:37:00 +02:00
2012-05-26 14:37:00 +02:00
2012-12-03 09:36:08 +00:00
2012-05-26 14:37:00 +02:00
2013-11-01 22:37:59 +01:00
2012-05-26 14:37:00 +02:00
2012-05-26 14:37:00 +02:00
2012-05-26 14:37:00 +02:00
2012-05-26 14:37:00 +02:00
2012-05-26 14:37:00 +02:00
2012-05-26 14:37:00 +02:00
2012-05-26 14:37:00 +02:00
2012-05-26 14:37:00 +02:00
2012-05-26 14:37:00 +02:00
2012-12-03 09:36:08 +00:00
2012-05-26 14:37:00 +02:00