1
0
mirror of synced 2024-12-13 22:56:04 +03:00
Commit Graph

33 Commits

Author SHA1 Message Date
Benjamin Eberlei
ca01065c6a Bugfix in short identifier shortcut with association ids 2011-10-19 11:58:59 +02:00
Benjamin Eberlei
7e571212a7 Merge pull request #109 from alOneh/patch-1
Remove trailing spaces
2011-10-15 11:39:56 -07:00
Alexander
f47e1feac6 Merge branch 'master' of git://github.com/doctrine/doctrine2 into ProxyIdentifer
Conflicts:
	lib/Doctrine/ORM/Proxy/ProxyFactory.php
2011-10-15 17:24:13 +02:00
Alain Hippolyte
06d56156dd Remove trailing spaces 2011-08-19 06:11:58 +03:00
Benjamin Eberlei
93d2e1bd0a [DDC-1280] Only generate linefeeds in proxies for consistency. 2011-07-26 22:30:20 +02:00
Benjamin Eberlei
2b207106a3 DDC-1022 - Call __wakeup() with the same semantics then ClassMetadata::newInstance() does inside UnitOfWork 2011-07-09 12:12:44 +02:00
Benjamin Eberlei
875912bffd DDC-733 - Add UnitOfWork::initializeObject() method. 2011-06-05 08:44:38 +02:00
Benjamin Eberlei
bc4e14a99f Prototype for a proxy extension that avoids loads when calling for a getter that is named after an identifier. 2011-05-20 20:50:03 +02:00
Guilherme Blanco
e538128645 [DDC-1029] renaming "load()" in proxy to "__load()" 2011-05-13 00:23:27 -03:00
Benjamin Eberlei
c144df9be3 DDC-1033 - Fix cloning of not initialized proxies. 2011-02-26 12:47:59 +01:00
Benjamin Eberlei
31efc9a149 DDC-861 - Rework ProxyFactory to not use autoloader anymore 2010-11-05 22:17:05 +01:00
Benjamin Eberlei
eaa78b981b DDC-700 - Skip generation of proxy classes for Mapped superclasses 2010-08-08 12:05:21 +02:00
Roman S. Borschel
69073c4b37 Fixes for merging bidirectional associations where both sides define cascade=merge as well as fixes for handling null values and proxies properly in single-valued associations. 2010-07-30 17:19:50 +02:00
Benjamin Eberlei
7a5ab94780 DDC-716 - Added LOCK_EX constant to file_put_contents to avoid file corruption on concurrent access when auto-generating proxy classes is set to TRUE 2010-07-22 23:11:23 +02:00
Christian Heinrich
c2d2e45859 Fixed #DDC-578
Also added a new testcase
2010-05-10 16:17:17 +02:00
Roman S. Borschel
760ea34a0c [DDC-497][DDC-500][DDC-342] Fixed. Persister polishing and refactoring. More to come for that, but after beta1. 2010-04-26 13:02:30 +02:00
romanb
354ede1e04 [2.0][DDC-354][DDC-425] Fixed. Encapsulated SQL logging better in the DBAL. Added binding types to DBAL mapping types as well as using these binding types in the persisters. Query and NativeQuery now support PDO binding types as well as DBAL mapping types when binding parameters. 2010-03-29 13:20:41 +00:00
jwage
089b5dd88a [2.0] Refactoring code for reading multiple sources of mapping information from ClassMetadataExporter to a new ClassMetadataReader tool so it can be used to read mapping information easily from multiple different sources. This is used for generating repositories, converting mapping information, generating entity stubs, etc. Generally though, it is useful to be able to read the information for some mapping files into an array of ClassMetadataInfo instances without it being bound to the ORM and the metadata referenced by the EntityManager ClassMetadataFactory 2010-03-19 04:19:15 +00:00
jwage
119c4eca57 [2.0] Fixing coding standards of generated proxies 2010-03-18 21:30:09 +00:00
guilhermeblanco
757a9529f8 [2.0] Fixed issue with Proxy classes that was silently failing to load correspondent Entity. 2010-03-10 20:38:20 +00:00
romanb
df6ca602fb [2.0][DDC-92] Fixed. Patch provided by Christian Heinrich. [DDC-274] Started some method renaming. [DDC-142] Fixed (join column names and discriminator column names dont support quoting) [DDC-258] Fixed. 2010-03-05 16:35:00 +00:00
beberlei
8fbcf7d571 [2.0] DDC-381 - Unserialized Entity that was a proxy during serialize() will fatal when accessing methods that call _load() - A check for the existance of entity persister solves the problem. 2010-02-28 14:45:09 +00:00
romanb
86c12a07e5 [2.0] Fixed proxy classes to not invoke parent class constructors. We never call constructors to reconstitute persistent entities and proxies always represent persistent entities. 2010-02-11 09:48:57 +00:00
beberlei
375c470e93 DDC-155 - Skip __sleep in generateMethods 2010-01-06 14:12:27 +00:00
romanb
38bf6c665a [2.0][DDC-237][DDC-216] Fixed. If you're using manual proxy generation through the CLI, please regenerate your proxies. 2010-01-05 11:45:38 +00:00
beberlei
845c85552e [2.0] DDC-194 - Fixed infinite recursion issue with references and @PostLoad annotation by telling proxy to be loaded before calling EntityPersister->load... 2009-12-07 22:10:40 +00:00
beberlei
932855317f [2.0] DDC-62 - Fixed bug with proxy class generation of non-namespaced entities 2009-10-31 08:59:27 +00:00
romanb
f572c372dc [2.0] Fixed DDC-18. Simplified proxy classes. Just 1 proxy class per entity now, instead of 2. 2009-10-28 15:32:55 +00:00
romanb
5842411afe [2.0][DDC-49][DDC-50][DDC-33] Fixed DDC-49 and DDC-50. Also addressed DDC-33. Various other small changes and fixes. For problems with proxy objects please refer to the updated documentation. 2009-10-15 14:39:43 +00:00
romanb
cb1c7bce48 [2.0] DBAL cleanups (DDC-46). Proxy class improvements (DDC-19, DDC-39). Started new UPGRADE_TO document for upgrade instructions between advancing Doctrine 2 versions. 2009-10-14 20:18:36 +00:00
piccoloprincipe
0c623fdb9e [2.0] Accomodate joincolumn names in the metadata, in the selection and the hydration processes. Improved Api of the ProxyFactory. Working implementation of lazy loading for *-to-one associations (affects #2348) 2009-07-20 12:05:19 +00:00
piccoloprincipe
3747365b1c [2.0] added tests for lazy loading; added error_reporting level; wired association proxy factory 2009-07-18 13:15:54 +00:00
piccoloprincipe
cdc102fc23 [2.0] renamed classes to more descriptive names 2009-07-16 14:03:22 +00:00