comfortablynumb
f0db9a842d
[DDC-1542] - Inheritance: Added default discriminator map (only annotations yet)
2012-05-04 20:36:24 +02:00
Benjamin Eberlei
e09a9c7deb
Merge pull request #315 from Ocramius/getclass-on-proxies-refactoring
...
Allowing proxies to be passed to ORM public API
2012-05-04 10:04:14 -07:00
Alexander
37ce0f15d6
Update test case for MappingException::invalidCascadeOption()
2012-05-04 18:26:17 +02:00
Alexander
3403305b3d
Merge remote-tracking branch 'schmittjoh/betterExMessage'
2012-05-04 18:20:56 +02:00
Fabio B. Silva
5c7d7c6f05
remove duplicated 'require_once'
2012-04-21 01:53:34 -03:00
Fabio B. Silva
56fb1035de
update docblock
2012-04-21 01:43:18 -03:00
Fabio B. Silva
f63cb95ef3
add annotations
2012-04-21 01:43:18 -03:00
Fabio B. Silva
85790f0752
support for attribute override
2012-04-21 01:43:18 -03:00
Fabio B. Silva
4df3c75321
added missing '\'
2012-04-21 01:41:05 -03:00
Fabio B. Silva
3085c52f95
fix docblock and remove white spaces
2012-04-21 01:41:04 -03:00
Fabio B. Silva
9e010cbd34
added xml/yml drivers
2012-04-21 01:41:04 -03:00
Fabio B. Silva
30fdf8dd1b
added support for @AssociationOverride
2012-04-21 01:38:34 -03:00
Guilherme Blanco
bad811df6a
Merge pull request #293 from FabioBatSilva/DDC-1663
...
[DDC-1663]Native SQL Query Result Set Mappings
2012-04-16 12:06:26 -07:00
Benjamin Eberlei
4b09712761
Merge pull request #322 from rande/patch-1
...
In some weird situation the SimpleXmlIterator used to iterate on the ``$...
2012-04-16 09:55:05 -07:00
Fabio B. Silva
f8b1915efd
named native query inheritance
2012-04-15 15:40:43 -03:00
Fabio B. Silva
52c49b444e
test multiple entity results
2012-04-15 15:40:43 -03:00
Fabio B. Silva
b49180875c
yml driver
2012-04-15 15:40:42 -03:00
Fabio B. Silva
531eb68d56
xml driver
2012-04-15 15:40:41 -03:00
Fabio B. Silva
f813223036
test joined one-to-many and one-to-one
2012-04-15 15:40:40 -03:00
Fabio B. Silva
3b79951824
mapping driver tests
2012-04-15 15:40:40 -03:00
Fabio B. Silva
015ea809b0
added support for resultClass and empty fields
2012-04-15 15:39:22 -03:00
Fabio B. Silva
bfc7986b20
annotation driver and basic support
2012-04-15 15:39:22 -03:00
Fabio B. Silva
2b996128af
sql result set mapping metadata
2012-04-15 15:39:22 -03:00
Fabio B. Silva
91e4702772
named native query metadata
2012-04-15 15:39:22 -03:00
Fabio B. Silva
530e4840dd
native query annotations
2012-04-15 15:39:21 -03:00
Marco Pivetta
cb7a77cc03
Removing usage of ClassUtil where not strictly needed
...
Optimizing the ClassMetadataFactory API instead and using ClassMetadata to check actual class names as da962f2e and c27b4de0 introduced too much overhead
2012-04-07 18:53:34 +02:00
Marco Pivetta
d1e868a32a
Removing registration of proxy ClassMetadata by the proxyFactory
...
Ensuring that functionality is kept by checking for the real class name in the ClassMetadataFactory
2012-04-07 18:53:34 +02:00
Benjamin Eberlei
de26952e29
[DDC-1534] YamlDriver wrongly used "inversedBy" inside join table condition although its independent.
2012-04-07 10:42:54 +02:00
Johannes M. Schmitt
84ec6dc9f5
improved exception message
2012-04-04 21:47:23 -05:00
Somfai Mátyás
a2fd4eca37
Fixing a bug when calling setDiscriminatorMap from multiple sources (ie: from Events::loadClassMetadata and annotation).
2012-04-04 14:49:34 +02:00
Thomas
5005bbe62b
In some weird situation the SimpleXmlIterator used to iterate on the `$xmlRoot->field
property just get resetted. This solution avoid this situation. This problem occurs when Symfony2 warms up cache with autogenerate proxy to
true
`
2012-04-02 14:55:35 +03:00
Benjamin Eberlei
5b18718b92
[DDC-1746] Throw exception on invalid cascade option.
2012-04-01 11:01:58 +02:00
Benjamin Eberlei
c5c3719e79
Revert GH-311
2012-03-30 22:00:45 +02:00
Benjamin Eberlei
04a4f2fc24
Merge pull request #310 from FabioBatSilva/DDC-889
...
[DDC-889] Mention parent class for debugging purposes.
2012-03-30 12:55:49 -07:00
Ben Lumley
7a5ae3a1a2
Support for default attribute in yaml mappings.
2012-03-28 22:01:57 +02:00
Fabio B. Silva
6d1209c06d
fix typo
2012-03-26 01:03:32 -03:00
Fabio B. Silva
67af9f1853
change comparison
2012-03-26 00:55:57 -03:00
Fabio B. Silva
d6809773db
mention parent classes for identifier required exception.
2012-03-25 13:34:52 -03:00
Fabio B. Silva
f591e428c3
mention parent classes when not is a entity or mapped super class.
2012-03-25 12:54:09 -03:00
Benjamin Eberlei
ab15528fde
Fix CS: AS => as in foreach loops.
2012-03-24 11:16:32 +01:00
Hugo Hamon
74f52a055e
[Mapping] removed unused local variable $fileName in StaticPHPDriver class.
2012-03-24 11:07:39 +01:00
Hugo Hamon
155c24772a
[Mapping] removed unused local variables $versionAnnot and $tblGeneratorAnnot in AnnotationDriver class.
2012-03-24 11:07:39 +01:00
Hugo Hamon
a3d8207578
[Mapping] removed unused local variable $field in ClassMetadataInfo class.
2012-03-24 11:07:35 +01:00
Hugo Hamon
beae0865db
[Mapping] removed unused local variable $fieldName in ClassMetadataFactory class.
2012-03-24 11:07:35 +01:00
Benjamin Eberlei
29318e183c
[DDC-1723] Fix missing serialitation for custom generator definition.
2012-03-22 23:07:00 +01:00
Benjamin Eberlei
bc4cf21c9d
Merge velovint/SupportCustomIdGenerators
2012-03-22 22:29:15 +01:00
rivaros
9c4e52c136
Convention fix
2012-03-14 21:38:56 +01:00
Rivaros
b346f1901a
convention fixes #2
2012-03-14 21:38:50 +01:00
Rivaros
df82b6060b
Convention fixes
2012-03-14 21:38:43 +01:00
Rivaros
06eed4cfda
Primary Keys as Foreign Keys - reverse engineering
2012-03-14 21:38:33 +01:00
Benjamin Eberlei
de5e4b0fdc
[DBAL-1692] Throw exception if table has no primary key instead of fatal error.
2012-03-14 21:09:48 +01:00
Maarten de Keizer
0a835609fa
UUID id generator
2012-03-12 12:32:33 +01:00
Benjamin Eberlei
794b4ef09c
[DDC-1668] Fix problem with the is_int fowards compatibility check. Its not really necesssary anymore, we should remove this code in the future.
2012-03-03 22:24:51 +01:00
Guilherme Blanco
a47e566382
[DDC-1667] Removed implicit obligation to define an Index and UniqueConstraint name. It is optional, but Annotations Driver was broken if not defined.
2012-03-03 13:05:11 -05:00
Vitali Yakavenka
78d3f647ff
Merge branch 'master' of git://github.com/doctrine/doctrine2 into SupportCustomIdGenerators
2012-02-21 09:45:16 +03:00
Benjamin Eberlei
af07bd7818
Merge pull request #273 from smoya/master
...
No unique join column fields for Single Table inheritance type.
2012-02-20 06:55:00 -08:00
Benjamin Eberlei
68436fee75
[DDC-1654] Add support for orphanRemoval on ManyToMany associations. This only makes sense when ManyToMany is used as uni-directional OneToMany association with join table. The join column has a unique constraint on it to enforce this on the DB level, but we dont validate that this actually happens. Foreign Key constraints help prevent issues and notify developers early if they use it wrong.
2012-02-20 10:33:16 +01:00
Guilherme Blanco
e6b99c2059
Merge pull request #283 from FabioBatSilva/DDC-807
...
Fix DDC-807
2012-02-14 10:27:49 -08:00
Fabio B. Silva
da9b2e805e
remove unused parameter
2012-02-13 23:43:19 -02:00
Fabio B. Silva
cdde6e8a5c
fix required discriminator column name
2012-02-13 23:38:36 -02:00
Fabio B. Silva
5d01123413
Fix DDC-807, DDC-553
2012-02-13 23:22:49 -02:00
Benjamin Eberlei
2ce705ceb3
Merge pull request #272 from jsor/table_options
...
Implement custom options on table level and complete column options implementation
2012-01-28 12:56:19 -08:00
jsor
fac820f0e2
Complete custom column option implementation
...
- Support for xml driver
- Tests
2012-01-27 11:05:47 +01:00
Sergio Moya
88bbee127c
No unique join column fields for Single Table inheritance type.
2012-01-26 17:37:50 +01:00
Jan Sorgalla
d68fcd8bd2
Implement custom options on table level
2012-01-26 15:05:26 +01:00
Fabio B. Silva
0fce3c8f97
Fix DDC-1412
2012-01-21 12:42:46 -02:00
Benjamin Eberlei
faf92883b6
[DDC-1610] Add test and fix wakeup reflection in combination with event listener
2012-01-21 13:58:25 +01:00
Guilherme Blanco
da7fd2ece7
Merge pull request #250 from FabioBatSilva/DDC-1575
...
[DDC-1575] Give the FQCN to the naming strategy
2012-01-12 20:45:22 -08:00
Benjamin Eberlei
773fbd9edb
Merge branch '2.2'
2012-01-09 08:04:44 +01:00
Benjamin Eberlei
0014afe746
Fix Typo
2012-01-09 08:04:21 +01:00
Benjamin Eberlei
e16803de61
[doctrine/common-GH-92] Fixing notice when annotation driver is used in combination with static reflection.
2012-01-09 08:02:53 +01:00
Vitali Yakavenka
53ecedf70a
Remove support to pass arguments to custom ID generator's constructor
2012-01-08 15:20:35 +03:00
Vitali Yakavenka
59e9d55077
Merge doctrine/master
2012-01-06 22:06:59 +03:00
Fabio B. Silva
781a661704
change naming position
2012-01-03 17:58:20 -02:00
Fabio B. Silva
d8227fcd06
give the FQCN to the naming strategy
2012-01-03 16:59:43 -02:00
Benjamin Eberlei
3fff83cd13
Merge 2.2 into master
2012-01-03 19:20:11 +01:00
Benjamin Eberlei
a07fc515c7
DCOM-93 - Fix docblocks
2012-01-03 18:41:48 +01:00
Benjamin Eberlei
76e4f5a80b
DCOM-93 - Removed reflection dependency from ClassMetadata completly, moving all the code into ClassMetadataInfo for BC reasons.
2012-01-02 21:32:18 +01:00
Benjamin Eberlei
c7d8c9f34e
DCOM-93 - Factor out ClassMetadata constructor into delegate method initializeReflection
2012-01-02 17:06:22 +01:00
Benjamin Eberlei
1cecc9c429
DCOM-93 - Factor out __wakeup into a delegate-method from ClassMetadataFactory#wakeupReflection to ClassMetadataInfo#wakeupReflection
2012-01-02 15:57:32 +01:00
Benjamin Eberlei
ea2d4e4282
DCOM-93 - Add ClassMetadataFactory#wakeupReflection implementation
2012-01-02 15:46:20 +01:00
Benjamin Eberlei
80408ac34f
DCOM-93 - Add empty initialize and wakeup methods.
2012-01-02 15:36:36 +01:00
Benjamin Eberlei
9bdf9a9904
DCOM-93 - Adjust ClassMetadataFactory#getClassParents() to use reflection service.
2012-01-02 15:30:25 +01:00
Guilherme Blanco
4ae7851a04
Merge pull request #247 from juzna/fix-phpdoc
...
fixed phpDoc and typos
2011-12-30 13:05:37 -08:00
Jan Dolecek
12c3a42d8c
fixed phpDoc and typos
2011-12-30 20:06:20 +01:00
Benjamin Eberlei
87e0c69381
Merge remote-tracking branch 'origin/2.2' into 2.2
2011-12-28 20:29:53 +01:00
Benjamin Eberlei
a6deb51a05
DDC-1360 - Bugfix in quoting mechanism inside ClassMetadataInfo
2011-12-28 20:29:01 +01:00
Benjamin Eberlei
9d398afa56
DDC-1360 - Bugfix in quoting mechanism inside ClassMetadataInfo
2011-12-28 20:28:17 +01:00
Fabio B. Silva
ff4ed93707
fix typo
2011-12-27 09:53:09 -02:00
Fabio B. Silva
603f7a1664
fix indentation
2011-12-24 12:34:49 -02:00
Fabio B. Silva
e3acf43dbc
move naming classes to Doctrine\ORM\Mapping
2011-12-24 12:01:25 -02:00
Fabio B. Silva
1eddb53d6c
fix CS and use php constants
2011-12-24 11:45:51 -02:00
Fabio B. Silva
8bdb713073
add support for NamingStrategy
2011-12-23 14:41:03 -02:00
Fabio B. Silva
83a9458653
apply naming strategy on ClassMetadata
2011-12-23 12:28:09 -02:00
Fabio B. Silva
537821418e
apply naming strategy on ClassMetadataInfo
2011-12-23 11:29:50 -02:00
Benjamin Eberlei
f6f2acad4c
Merge Improve Error Messages into 2.2
2011-12-21 23:56:25 +01:00
Guilherme Blanco
f6eb83705a
Added coverage to DDC-1521. Small CS changes.
2011-12-20 00:05:14 -05:00
Vitali Yakavenka
4879c50c5d
Merge remote-tracking branch 'doctrine/master' into SupportCustomIdGenerators
2011-12-19 16:47:47 -08:00
Benjamin Eberlei
cd6131c9b8
Remove all trailing whitespaces
2011-12-19 22:56:19 +01:00
Benjamin Eberlei
b545525e13
Update ORM to Doctrine Common master
2011-12-19 18:03:53 +01:00