Benjamin Eberlei
c6a6aaf493
DDC-899 - Add method to check if EntityManager is still open.
2010-12-03 17:44:24 +01:00
Benjamin Eberlei
dff5dae416
DDC-897 - Make ClassMetadataFactory configurable.
2010-11-27 20:53:26 +01:00
Benjamin Eberlei
07016f6da5
DDC-834 - Commit fix for requesting references of classes that have subclasses. This is not possible, so we do an eager find instead. Yes this means there is yet another negative performance impact when using Inheritance STI and CTI.
2010-10-11 20:11:23 +02:00
Roman S. Borschel
0424d87099
[DDC-386][DDC-675] Fixed.
2010-08-08 15:03:40 +02:00
Roman S. Borschel
913e58e385
[DDC-167] Implemented.
2010-07-20 14:27:14 +02:00
Roman S. Borschel
4212b88edc
Fixed DDC-455, DDC-600. Some behavior and API polish in the UoW as well as continued _ prefix removal in some core classes. Cleanups and fixes for one-to-one orphan removal including tests.
2010-07-08 00:20:54 +02:00
Jonathan H. Wage
bf9f7f85af
Tweaking the method names of the recently added feature which allows custom hydration modes.
2010-06-03 14:11:31 -04:00
Jonathan H. Wage
5b148c7b20
[DDC-161] Adding ability to use custom hydrators with queries.
2010-06-02 23:25:09 -04:00
Benjamin Eberlei
78328ec6ea
DDC-178 - Removed Doctrine\ORM\LockMode in favour of Doctrine\DBAL\LockMode
2010-05-15 11:48:20 +02:00
Benjamin Eberlei
64b57bbcfb
Merge upstream into lock-support branch
2010-05-15 09:41:32 +02:00
Roman S. Borschel
5dbd40563c
Added control abstractions for transaction demarcation.
2010-05-13 13:19:59 +02:00
Roman S. Borschel
f619a15a63
Removed EntityTransaction until it has a real purpose. Added the affected entity to OptimisticLockException. Updated functional optimistic locking tests accordingly.
2010-05-10 23:51:56 +02:00
Guilherme Blanco
d0325d7048
Merged with upstream/master
2010-05-08 12:42:06 -03:00
Roman S. Borschel
8d52967fcd
Polished QueryBuilder API documentation and added another test.
2010-05-07 13:36:25 +02:00
Guilherme Blanco
65fbb9f7a4
Renamed fetchRow to fetchAssoc, as defined in @todo list. Renamed getRollbackOnly to isRollbackOnly, since it is more consistent to its purpose.
2010-05-06 18:45:18 -03:00
Guilherme Blanco
b12b8b0041
Revertd partially the support to DBAL\Transaction, it was wrong. Fixed implementation of ORM\EntityTransaction and fixed tests.
2010-05-06 18:39:19 -03:00
Benjamin Eberlei
f65a555d04
Merge Upstream into Locking-Branch
2010-05-02 13:02:44 +02:00
Guilherme Blanco
6705d9b9cc
Introduced the concept of DBAL\Transaction and ORM\EntityTransaction.
2010-04-29 22:46:51 -03:00
Guilherme Blanco
841008c461
[2.0] Coding Standards fixes, added missing docblocks, removed some dependencies from Common package (in Annotations component), etc.
2010-04-23 00:51:32 -03:00
Benjamin Eberlei
c763b47626
Merge commit 'dc2master/master' into lock-support
2010-04-21 20:30:41 +02:00
Benjamin Eberlei
dfbd9e6e2f
DDC-178 - Add additional tests for Locking Support
2010-04-11 16:43:33 +02:00
Benjamin Eberlei
4cf5b7afdc
DDC-510 Move Exception for no Metadata Driver from Configuration to EntityManager::create, commit missing MetadataFilter
2010-04-11 10:51:31 +02:00
Benjamin Eberlei
6e5b1bbe60
DDC-510 - Refactored Metadata Driver to be an required option, even for Annotations - allowing to use the specified paths in ORM Tooling Commands
2010-04-10 17:35:18 +02:00
Benjamin Eberlei
e6a44b145f
[DDC-178] First approach to Locking support
2010-04-08 22:50:06 +02:00
guilhermeblanco
511bf2248e
[2.0] Fixed and added some missing/wrong docblocks. Renamed Assigned to AssignedGenerator as scheduled to be renamed.
2010-03-30 21:14:17 +00:00
romanb
a53c2fbd6c
[2.0] Code cleanups. Preparations for DDC-193. Fixed DDC-399, type configuration remains global for now but the irritating instance methods on the Configuration have been removed. Use Type::addType et al. Added TODOs for naming standards.
2010-03-15 17:19:00 +00:00
guilhermeblanco
af63f2cb6d
[2.0] Fixed reporting issue with TaskNamespace and some small cosmetic changes
2010-03-08 21:03:04 +00:00
romanb
715da59ded
[2.0][DDC-384] Fixed getReference problem with aliases.
2010-03-04 12:45:41 +00:00
romanb
96eaf67e0f
[2.0][DDC-350] Fixed. Patch provided by Christian Heinrich.
2010-02-21 23:26:42 +00:00
beberlei
54010a55b0
[2.0] DDC-309 - Allow multiple IteratbleResult instances and work on them concurrently.
2010-02-09 19:58:04 +00:00
romanb
4adc289596
[2.0][DDC-284] Fixed. API polish and some convention over configuration simplifications for join columns and join tables.
2010-02-09 17:13:49 +00:00
romanb
d76096d045
[2.0][DDC-288] Removed deprecated flush modes.
2010-01-29 21:36:05 +00:00
romanb
94d41dfbdc
[2.0][DDC-279] Fixed.
2010-01-29 21:24:29 +00:00
romanb
c727483ad8
[2.0][DDC-208] Fixed.
2009-12-18 13:20:22 +00:00
romanb
3d14da4105
[2.0][DDC-168] Moved INSERT SQL generation to persisters during runtime.
2009-12-17 13:37:47 +00:00
romanb
fe7ef4bbeb
[2.0][DDC-122][DDC-97][DDC-98][DDC-147] Refactored metadata mapping drivers by removing the useless PRELOAD mode. Introduced ClassMetadataFactory#getAllMetadata. Classloader simplifications. Old classloaders deprecated. New Doctrine\Common\ClassLoader is almost the same as the previous IsolatedClassLoader.
2009-12-15 21:06:32 +00:00
romanb
fdd9b05158
[2.0] Fix for optimistic locking.
2009-11-25 21:48:04 +00:00
beberlei
f9ab947372
DDC-126 - Make Query, NativeQuery Fluent-Interfaces for all their set Methods, renamed setExpireQueryCache() and setExpireResultCache() to expireQueryCache() and expireResultCache(). Updated UPGRADE_TO_2_0 document accordingly.
2009-11-21 13:13:19 +00:00
romanb
10e3407ed1
[2.0][DDC-70] Added some EntityManager tests provided by beberlei.
2009-10-28 22:12:45 +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
romanb
b8bcd51ff2
[2.0][DDC-32] Fixed.
2009-10-07 12:39:46 +00:00
romanb
d0bb8ab2e4
[2.0] Fixed EntityManager#contains().
2009-10-05 09:32:50 +00:00
jwage
d1b2f93acb
[2.0] Splitting ClassMetadata in to ClassMetadataInfo and other bug fixes
2009-10-05 04:11:29 +00:00
guilhermeblanco
2ff65dd7f0
[2.0] Removed already done TODO items
2009-09-05 23:54:36 +00:00
romanb
94c187685b
[2.0] Work on CLI: Added SchemaToolTask with preliminary support for dropping/creating the database schema. Prepared the sandbox. Adjusted build to include the sandbox.
2009-08-31 16:21:29 +00:00
jwage
f83fd8e950
[2.0] Updating exceptions to use methods so that we can later provide better exception messages
2009-08-26 22:03:39 +00:00
romanb
e578bad687
[2.0] Fixed several referential integrity issues. Fixed critical issue with inserts being run twice on postgresql/oracle. Added support for additional tree walkers that modify the AST prior to SQL construction and started to play with it in a testcase.
2009-08-13 10:13:06 +00:00
romanb
8797921937
[2.0] Removed AssociationMappings from ResultSetMapping for improved caching. Fixed caching issue with reflection classes and properties. Reimplemented and leaned up broken identifier quoting. Added support for named (native) queries. Fixed small hydration memory leak.
2009-08-11 10:51:38 +00:00
romanb
f64347d899
[2.0] Implemented SQL generation for SIZE() function and EmptyCollectionComparisonExpression.
2009-08-05 15:47:41 +00:00
romanb
e1f2b8abec
[2.0] Implemented support for mapped superclasses. Fixed #2353 .
2009-07-30 15:16:02 +00:00
romanb
28ca2acb8b
[2.0] Refined implementation and semantics of the merge and detach operations. General cleanups and API improvements. Added a testcase for detaching/serializing->unserializing->modifying->merging to demonstrate the transparent serialization.
2009-07-25 16:33:29 +00:00
romanb
da07bf4a37
[2.0] Small refactorings.
2009-07-24 11:33:38 +00:00
romanb
ae1b9371ec
[2.0] Fixed #2366 .
2009-07-21 15:53:58 +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
romanb
7297ac7baa
[2.0] Addressed #2363 .
2009-07-19 16:54:53 +00:00
jwage
cc3ea569a4
[2.0] Initial version of optimistic locking with integer version columns
2009-07-17 18:13:03 +00:00
piccoloprincipe
cdc102fc23
[2.0] renamed classes to more descriptive names
2009-07-16 14:03:22 +00:00
piccoloprincipe
197ed0b7b6
[2.0] working implementation of reference proxies
2009-07-16 13:29:15 +00:00
jwage
c4e330e5ca
[2.0] Placing loadClassMetadata() event so users can manipulate class meta data through events
2009-07-15 20:18:40 +00:00
romanb
35aa9a4850
[2.0] Adding missing event classes and some AnnotationDriver refactorings.
2009-07-15 16:31:59 +00:00
jwage
ba8b4337bb
[2.0] Cleanup on QueryBuilder and Expr from discussion with roman
2009-07-10 18:26:43 +00:00
jwage
312d347d2d
[2.0] More work on the QueryBuilder and Expr classes
2009-07-10 14:02:06 +00:00
romanb
537c8e4951
[2.0] Implemented DQL bulk DELETE support for Class Table Inheritance. Other cleanups, refactorings and docblock additions.
2009-06-22 18:48:42 +00:00
romanb
292e93ded4
[2.0] Formatting issues.
2009-05-28 11:39:16 +00:00
romanb
a758b56551
[2.0] Introduced SQL logging facilities. Made Type constructor private to prevent instantiation and force use of the factory method getType().
2009-05-28 11:13:12 +00:00
romanb
4f5b332d34
[2.0] Adding insert performance tests.
2009-05-19 16:11:08 +00:00
romanb
8d9564421c
[2.0] Cleanups from last commit.
2009-05-13 15:32:17 +00:00
romanb
ecd30bc242
[2.0] Started to implement proxy object handling. Introduced a configuration switch for partial objects (allowPartialObjects) that defaults to TRUE. Setting to FALSE enables proxying and lazy-loading.
2009-05-13 15:19:27 +00:00
romanb
e0488ff8fc
[2.0] First draft of EntityManager#merge(). First draft of DynamicProxyGenerator.
2009-05-11 10:43:27 +00:00
romanb
ee46dba332
[2.0] Moved code between Query and AbstractQuery. Added first NativeQuery implementation. Hydration work and code movements for discriminator column usage. Started implementing Single Table Inheritance.
2009-04-12 19:02:12 +00:00
romanb
f9a222817c
[2.0] Work on ID generators, functional tests and more.
2009-03-30 19:43:05 +00:00
romanb
22de495e19
[2.0] Cleaned up old Production/Parser classes.
2009-03-14 09:05:52 +00:00
jwage
43b6791919
[2.0] More replacing of old style of exceptions to intermediate step
2009-02-19 07:07:44 +00:00
romanb
32d43c365f
Removed 'name' attribute from EntityManager since it's not needed.
2009-02-17 11:02:11 +00:00
jwage
c67c8eac87
[2.0] Initial entry of YAML schema meta data driver and sandbox. A few other misc. fixes as well.
2009-02-17 08:01:34 +00:00
jwage
4dc5a4baf5
[2.0] Removing unused code and committing a little 2.0 documentation
2009-02-17 02:43:40 +00:00
romanb
9dcab5ee63
Small reorganizations, improvements and progress.
2009-02-07 17:02:13 +00:00
romanb
886c961108
[2.0] Continued work on association mappings and class exporting (DDL generation). Fixed #1863 .
2009-02-04 16:35:36 +00:00
romanb
e202cb1ce1
[2.0] Progress on UnitOfWork, persisters and basic functional tests.
2009-02-02 11:55:50 +00:00
romanb
22e94ac594
Enabling namespaces. Final restructurings.
2009-01-22 19:38:10 +00:00
romanb
dd1afc7e7c
hydrator cleanup and 2 new methods for ClassMetadata
2009-01-15 13:30:44 +00:00
romanb
60fb69dd03
First commit of new extensible hydrator structure. Cleanup to follow.
2009-01-13 21:56:43 +00:00
romanb
73ad0ac454
more tests and first basic update/delete
2009-01-09 16:25:06 +00:00
romanb
d97336373d
Finally first, very basic, running CRUD tests for Doctrine 2
2009-01-07 17:46:02 +00:00
romanb
c2ab01bf7e
Added first ClassMetadataFactory tests.
2009-01-06 17:22:23 +00:00
romanb
bcf0110249
replaced code driver with annotation driver using addendum.
2009-01-05 17:25:56 +00:00
romanb
efaaf83e17
test and collection cleanup
2009-01-04 16:15:32 +00:00
romanb
2395888feb
General work. Now using spl_object_hash.
2009-01-03 19:50:13 +00:00
romanb
6be6f40e84
Splitting DBAL/ORM configuration.
2008-12-18 14:21:21 +00:00
romanb
9971057076
moving towards transparent persistence.
2008-12-18 14:08:11 +00:00
guilhermeblanco
178f3fe5bb
[2.0] Moved Doctrine_Query to definite namespace Doctrine_ORM_Query.
...
Fixed paths that were referring wrong namespace resolution.
Implemented more Parser and AST classes: JoinVariableDeclaration and Join.
Fixed wrong semantical checks of IndexBy grammar rule. They should be in IdentificationVariableDeclaration and JoinVariableDeclaration.
2008-09-23 02:45:02 +00:00
romanb
e2a0e189fa
minor refactorings on code and API docs
2008-09-13 10:28:29 +00:00
romanb
d4e554fb44
moved classmetadata & co
2008-09-12 17:39:39 +00:00
romanb
c3ad955912
further cleanups
2008-09-12 17:25:38 +00:00
romanb
70c96548fd
moved entitymanager and entityrepository
2008-09-12 13:16:05 +00:00