Fabio B. Silva
530e4840dd
native query annotations
2012-04-15 15:39:21 -03:00
Aigars Gedroics
aa381951cd
[DDC-1757] Fix moved to private method, test improved.
2012-04-10 11:47:05 +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
85ea27dba2
Adding tests for additional usages of the proxy classname in ORM public API
...
Like Proxy classnames in DQL, EM#getRepository, EM#getReference
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
Marco Pivetta
37279d0753
Adding test to verify validity of changes (fails without them)
2012-04-07 18:53:34 +02:00
Marco Pivetta
c4a2eaea49
Adding additional missing calls to classutils instead of get_class
2012-04-07 18:53:34 +02:00
Marco Pivetta
cbe4987e18
Using Doctrine\Common\Util\ClassUtil for class_name resolutionThis avoids exceptions when passing a Proxy instance to the public API of the EntityManager, ClassMetadataFactory or UnitOfWork when the Proxy itself isn't generated by the EntityManager itself, while discovering the correct ClassMetadata instance for the proxy
2012-04-07 18:53:33 +02:00
Benjamin Eberlei
022d27e4e9
Merge branch 'DDC-1534'
2012-04-07 10:43:05 +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
Benjamin Eberlei
c92393026d
Merge branch 'DDC-1771'
2012-04-07 10:30:17 +02:00
Benjamin Eberlei
d54fdf43d0
[DDC-1771] Abstract classes cannot be proxies and should be skipped in complete generation.
2012-04-07 10:30:09 +02:00
Benjamin Eberlei
a1a9f85fda
Merge pull request #328 from Netpositive/master
...
addDiscriminatorMapClass fix
2012-04-07 00:44:29 -07:00
Benjamin Eberlei
d6ccd82cf6
Merge pull request #321 from import/feature/newCacheDriver
...
Addition for new cache driver
2012-04-07 00:20:55 -07:00
Guilherme Blanco
a5c13a5ef1
Merge pull request #329 from doctrine/DDC-1766
...
[DDC-1766] Initial implementation of hydration cache.
2012-04-06 06:50:11 -07:00
Benjamin Eberlei
0b3577f2d2
[DDC-1766] Rewrite getHydrationCacheId() to use existing processParameterValue() method. Other code style changes.
2012-04-05 22:40:40 +02:00
gedrox
49016bc156
Parameter PHP documentation for the QueryBuilder::getRootAlias() method
2012-04-05 13:56:08 +03:00
Aigars Gedroics
efebf26cc5
DDC-1757 test and patched query builder
2012-04-05 11:30:00 +03:00
Johannes M. Schmitt
84ec6dc9f5
improved exception message
2012-04-04 21:47:23 -05:00
Benjamin Eberlei
1095fb39cb
[DDC-1766] More cleanups
2012-04-05 00:27:23 +02:00
Benjamin Eberlei
f7496b1482
[DDC-1766] Cleaned up code.
2012-04-05 00:26:09 +02:00
Benjamin Eberlei
d31c7f5e2b
[DDC-1766] Explain details of Hydration cache, introduce AbstractQuery#setResultCacheProfile method
2012-04-04 23:55:14 +02:00
Benjamin Eberlei
c32a77e6be
[DDC-1766] Add usage of default result cache driver, add more docs.
2012-04-04 23:47:32 +02:00
Benjamin Eberlei
fd2a22bd56
[DDC-1766] Add test with explicit cache key.
2012-04-04 23:42:17 +02:00
Benjamin Eberlei
864fbbdaaf
[DDC-1766] Remove some testcode
2012-04-04 23:24:51 +02:00
Benjamin Eberlei
306f9e0ca2
[DDC-1766] Rename closure
2012-04-04 23:21:06 +02:00
Benjamin Eberlei
3047c4b955
[DDC-1766] Initial implementation of hydration cache.
2012-04-04 23:10:30 +02:00
Alexander
cc06508bd4
Added test coverage for repository functions when using filters
2012-04-04 22:00:01 +02: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
Brikou CARRE
029071a144
simplified __call method
2012-04-03 17:33:00 +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
Osman Üngür
e69b022472
Fixed CS
2012-04-02 12:11:38 +03:00
Osman Üngür
4fc7389b1d
New cache driver definition for Doctrine running in non-dev mode and cache driver is not set.
...
This cache driver was added with doctrine/common#109
2012-04-02 11:57:09 +03:00
Benjamin Eberlei
5b18718b92
[DDC-1746] Throw exception on invalid cascade option.
2012-04-01 11:01:58 +02:00
Tiago Ribeiro
975f3c4600
Fixes autoloading of generated Annotations
2012-04-01 02:59:03 +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
Benjamin Eberlei
dd263ce00d
Merge pull request #313 from hason/tests
...
Fixed tests on Windows
2012-03-29 04:41:27 -07:00
Martin Hasoň
f3a9b1efc0
Fixed tests on Windows
2012-03-29 13:26:06 +02:00
Guilherme Blanco
290f8a79e4
Merge pull request #311 from benlumley/patch-1
...
Proposal: Support for default attribute in yaml mappings.
2012-03-28 18:09:50 -07:00
Ben Lumley
7a5ae3a1a2
Support for default attribute in yaml mappings.
2012-03-28 22:01:57 +02:00
Guilherme Blanco
2811d161bb
Merge pull request #309 from FabioBatSilva/DDC-1686
...
Fix DDC-1686
2012-03-25 21:33:43 -07: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
449d8a66ad
changed modifiers
2012-03-25 13:00:50 -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
Fabio B. Silva
0f9afbdf0a
Fix DDC-1686
2012-03-25 00:30:58 -03:00
Guilherme Blanco
8a52e3033b
Merge pull request #308 from FabioBatSilva/DDC-1697
...
Fix DDC-1697
2012-03-24 20:29:52 -07:00
Fabio B. Silva
df8626b949
Fix DDC-1697
2012-03-24 22:50:54 -03:00