Fabio B. Silva
6e93186db4
mapping driver tests
2012-04-15 15:40:41 -03:00
Fabio B. Silva
fdc9fdae3e
refactory ResultSetMappingBuilder#addNamedNativeQueryMapping into small submethods
2012-04-15 15:40:41 -03:00
Fabio B. Silva
8c407af1fc
fix postgres test
2012-04-15 15:40:41 -03:00
Fabio B. Silva
68665af6e8
test discriminator column
2012-04-15 15:40:41 -03:00
Fabio B. Silva
0cc2583a02
test scalar result
2012-04-15 15:40:40 -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
f018a56d6d
test native query with result class
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
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