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

2161 Commits

Author SHA1 Message Date
romanb
d23607910b [2.0] Formatting issues. 2009-05-28 11:33:50 +00:00
romanb
6e760bacc0 [2.0] Formatting issues. 2009-05-28 11:30:27 +00:00
romanb
d80b95964e [2.0] Formatting issues. 2009-05-28 11:26:08 +00:00
romanb
f01320665a [2.0] Formatting issues. 2009-05-28 11:24:22 +00:00
romanb
05173a867e [2.0] Formatting issues. 2009-05-28 11:19:27 +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
jwage
0ed8e7a34b [2.0] Fixing wrong function sig 2009-05-28 02:45:51 +00:00
jwage
75e0c1ede7 [2.0] More general work on the SchemaManager and Platform classes. Making API more complete and adding sqlite and mysql test coverage. 2009-05-28 02:04:51 +00:00
jwage
746d9bc38f [2.0] Adding listTableColumns() support for mysql. 2009-05-27 22:14:27 +00:00
jwage
7426baf53e [2.0] General work on Platform and SchemaManager classes 2009-05-27 18:54:40 +00:00
jwage
b951056025 [2.0] Adding initial MsSql platform and tests 2009-05-26 18:14:19 +00:00
romanb
d2405ded5d [2.0] Enhanced one-to-one self-referential association handling. 2009-05-26 15:42:54 +00:00
romanb
3135799f9e [2.0] Fixed formatting. 2009-05-26 11:31:29 +00:00
romanb
b66d530540 [2.0] Class table inheritance updates. Started work on self-referencing associations. 2009-05-26 11:30:07 +00:00
romanb
c9cc9f1373 [2.0] Parser code review with some cleanups and comments to highlight TODOs. 2009-05-24 10:38:37 +00:00
romanb
0b9c990d98 [2.0] Intermediate checkin. 2009-05-22 21:30:44 +00:00
romanb
a421692679 [2.0] Fixed Query Cache (+testcase) and some E_STRICT errors. 2009-05-21 19:18:14 +00:00
romanb
55d70248a9 [2.0] Implemented class table inheritance (no DQL bulk UPDATE/DELETE support yet) 2009-05-21 08:53:40 +00:00
romanb
eb6c6b2d16 [2.0] Some small optimizations. 2009-05-19 16:24:17 +00:00
romanb
4f5b332d34 [2.0] Adding insert performance tests. 2009-05-19 16:11:08 +00:00
romanb
c07416ac39 [2.0] Fixing replacement of StandardEntityPersister. 2009-05-17 20:45:50 +00:00
romanb
fe599d20c6 [2.0] Intermediate commit. 2009-05-17 20:43:49 +00:00
romanb
60f6020b5f [2.0] Intermediate commit. 2009-05-17 20:42:58 +00:00
romanb
4d13925b1c [2.0] Some hydration and DQL parser work. 2009-05-17 19:27:12 +00:00
romanb
96ef7eca13 [2.0] More small internal perf. improvements. 2009-05-14 18:34:12 +00:00
romanb
eea4391598 [2.0] Started adding performance regression tests. More object hydration performance improvements. 2009-05-14 14:57:08 +00:00
romanb
e79c45f9ac [2.0] Fixed issues discovered during code coverage report generation. Made all ClassMetadata properties public (good reasons, read the class docblock). Performance improvements. 2009-05-14 10:03:09 +00:00
romanb
8d9564421c [2.0] Cleanups from last commit. 2009-05-13 15:32:17 +00:00
romanb
33dbf8368b [2.0] Removed deprecated class. 2009-05-13 15:20:18 +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
1da8f672ce [2.0] Cleanup from previous commit. 2009-05-07 17:57:00 +00:00
romanb
0a81ae773d [2.0] Ensuring that PersistentCollection instances that are injected by Doctrine can be transparently serialized. 2009-05-07 17:56:09 +00:00
romanb
cfae81e11a [2.0] Fixed hydration for bi-directional many-many associations. 2009-05-07 16:36:27 +00:00
romanb
00c44b7c41 [2.0] Implemented many-to-many SQL join construction, small test included. 2009-05-07 13:54:01 +00:00
romanb
96f4d511e8 [2.0] Improved changeset detection. 2009-05-05 18:39:25 +00:00
romanb
a6d9236ef2 [2.0] Fixes and enhancements to sequence generators. Test suite now runs & passes against postgres. Other minor, unrelated cleanups. 2009-05-05 17:20:55 +00:00
romanb
16c4efccd8 [2.0] DBAL streamlining and starting to increase test coverage. 2009-05-03 18:07:57 +00:00
romanb
80de567817 [2.0] Fixed issue in changeset calculation. 2009-05-03 11:49:48 +00:00
romanb
ae7be288e1 [2.0] Work on single table inheritance with more functional tests. 2009-05-03 10:58:16 +00:00
romanb
5a00a9472c Implemented three change tracking policys. First test for usage of NotifyPropertyChanged. 2009-04-24 21:08:59 +00:00
romanb
832f355a30 [2.0] Cleanup. 2009-04-12 19:05:22 +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
67ba9661c5 [2.0] Some cleanups. 2009-04-09 18:20:35 +00:00
romanb
da1173f229 [2.0] Some cleanups. 2009-04-09 18:19:14 +00:00
romanb
523c93c2f1 [2.0] Refactored SQL query building process and hydration. Hydration should now support result sets with any number of root components. Introducing ResultSetMapping that is used by hydration instead of queryComponents. This allows mapping of arbitrary SQL queries (NativeQuery). 2009-04-09 18:12:48 +00:00
romanb
62204af804 [2.0] Ongoing work on Query/DQL implementation and tests. 2009-04-03 11:06:58 +00:00
romanb
f9a222817c [2.0] Work on ID generators, functional tests and more. 2009-03-30 19:43:05 +00:00
romanb
2812318254 [2.0] Removed ParserResultDummy that is no longer necessary. 2009-03-28 21:00:02 +00:00
romanb
7479a0cf9b [2.0] Starting to improve functional tests. First basic functional query tests. 2009-03-28 20:59:07 +00:00
romanb
705199e897 [2.0] Parser work. Added support for functions in SelectExpressions. 2009-03-28 17:10:41 +00:00
romanb
5ebaa6504c [2.0] Some docs and cleanups. 2009-03-23 19:02:16 +00:00
romanb
e6dbc733c5 [2.0] Added remaining supported functions for 2.0. 2009-03-23 18:48:54 +00:00
romanb
ae5d212271 [2.0] Parser work. Added double-dispatch functionality to AST node classes for use in the SqlWalker to reduce big if/else instanceof checks and for better maintainability. Also its less error-prone in the SqlWalker because its harder to miss a conditional case. Added new extensible DQL function implementation. 2009-03-23 17:39:33 +00:00
romanb
618c1281e4 [2.0] Parser work. 2009-03-21 19:58:52 +00:00
romanb
98076e0b0d [2.0] Parser work. Drafted logic for multi-table deletes through DQL (for Class/Concrete Table Inheritance) 2009-03-21 12:52:43 +00:00
romanb
d833ee1464 [2.0] Parser work. Drafted logic for multi-table deletes through DQL (for Class/Concrete Table Inheritance) 2009-03-21 12:49:58 +00:00
romanb
c7dbde9f89 [2.0] Parser work. 2009-03-20 21:28:19 +00:00
romanb
89a625021a [2.0] Refactored and reenabled Lexer tests. 2009-03-20 20:53:14 +00:00
romanb
b718cd1a63 [2.0] Parser work. 2009-03-19 12:43:48 +00:00
romanb
bffd76d704 [2.0] Parser work. 2009-03-16 22:12:38 +00:00
romanb
bc379103c3 [2.0] Some more parser work. 2009-03-14 21:19:50 +00:00
romanb
c4e22ba87a Merged tokens into lexer. 2009-03-14 10:34:40 +00:00
romanb
5b4564109e Merged tokens into lexer. 2009-03-14 10:30:47 +00:00
romanb
22de495e19 [2.0] Cleaned up old Production/Parser classes. 2009-03-14 09:05:52 +00:00
jwage
d458197e3a [2.0] Another step towards finishing namespace refactoring 2009-02-20 05:46:20 +00:00
jwage
43b6791919 [2.0] More replacing of old style of exceptions to intermediate step 2009-02-19 07:07:44 +00:00
jwage
5582f07b53 [2.0] Intermediate refactoring for new exception handling 2009-02-19 07:00:54 +00:00
romanb
62779913c8 Started to reenable query language recognition tests. 2009-02-18 10:39:51 +00:00
jwage
4b43a8c267 [2.0] Removing index, fk and table name formatting from DBAL configuration class 2009-02-17 23:26:46 +00:00
jwage
9dfab03ee0 [2.0] Small changes to ClassLoader and add basic unit test for it 2009-02-17 22:30:13 +00:00
jwage
554adc32a4 [2.0] Testing Collection base class and removing some code 2009-02-17 21:18:13 +00:00
jwage
15beb5e43b [2.0] Removing Doctrine.php and removing references to some remaining Doctrine constants 2009-02-17 20:15:04 +00:00
romanb
87fd08e427 [2.0] Some fixes for ClassExporterTest. 2009-02-17 12:25:03 +00:00
romanb
32d43c365f Removed 'name' attribute from EntityManager since it's not needed. 2009-02-17 11:02:11 +00:00
romanb
2ef81cf2a9 [2.0] Various small changes and enabling the collection tests. 2009-02-17 10:54:18 +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
jwage
45079a1e98 [2.0] Refactoring ClassExporter to allow the getting of the generated sql as well as executing it 2009-02-17 01:54:11 +00:00
jwage
438d970f40 [2.0] More removing of old code 2009-02-15 00:27:20 +00:00
jwage
d0c34ee7d1 [2.0] Removing old unused code and directories. 2009-02-15 00:08:24 +00:00
romanb
9dcab5ee63 Small reorganizations, improvements and progress. 2009-02-07 17:02:13 +00:00
romanb
2eb4a16dd4 [2.0] More progress on the UnitOfWork and collections. First basic functional many-many test. 2009-02-06 17:16:39 +00:00
romanb
deb095f2c8 Some cleanups, docblocks, and a small needed refactoring of ClassMetadataFactory. 2009-02-05 17:34:44 +00:00
romanb
efb733d7df [2.0] Refactored cache drivers. Made use of ArrayCache as the metadata cache during a test suite run. 2009-02-04 18:03:05 +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
36763dadb6 A little progress on the UnitOfWork. 2009-01-29 17:00:44 +00:00
romanb
0ac97e7adf [2.0] Making use of new constant __DIR__ 2009-01-24 16:56:44 +00:00
romanb
9a55035883 [2.0] Some cleanup for previous commit. 2009-01-22 19:50:55 +00:00
romanb
22e94ac594 Enabling namespaces. Final restructurings. 2009-01-22 19:38:10 +00:00
romanb
4ab2ba7dcb [2.0] More progress on the DQL parser. Added glimpse() method for the scanner/lexer that is equivalent to peek() immediately followed by resetPeek(). 2009-01-21 18:25:05 +00:00
romanb
3f60b8b5b5 More DQL parser work. First basic WHERE conditions. Changed scanner according to new positional parameter syntax (?<number>) 2009-01-20 17:07:07 +00:00
romanb
663a7415f8 minor changes 2009-01-19 21:16:46 +00:00
romanb
602c6d973e DQL Parser work. Getting some first tests back running. Reorganizing all parser rules into the Parser itself. 2009-01-19 18:40:12 +00:00
guilhermeblanco
f0a302ec8d [2.0] Implementation of StateField grammar rule. Updated SelectExpression AST node 2009-01-16 11:22:36 +00:00
guilhermeblanco
1ed287635a [2.0] More implementation under ORM/Query 2009-01-15 16:10:22 +00:00
romanb
dd1afc7e7c hydrator cleanup and 2 new methods for ClassMetadata 2009-01-15 13:30:44 +00:00
guilhermeblanco
4e62d4a98b More refactorings under DQL Parser/AST classes.
Implemented new classes. Fixed a couple of issues around the road.
2009-01-15 03:26:42 +00:00
guilhermeblanco
f83f5c3c89 [2.0] Code reorganization, preparing for battle.
Fixes Strict error on EntityPersisterMock.
2009-01-14 04:59:35 +00:00
romanb
60fb69dd03 First commit of new extensible hydrator structure. Cleanup to follow. 2009-01-13 21:56:43 +00:00
romanb
34f4ee71fa First tests for basic collection implementation. First experimental use of closures (Currently commented out, because the svn server makes a syntax check against 5.2.x). 2009-01-12 13:34:41 +00:00
romanb
73ad0ac454 more tests and first basic update/delete 2009-01-09 16:25:06 +00:00
romanb
b6e385d243 fixed regression 2009-01-08 11:23:24 +00:00
romanb
d97336373d Finally first, very basic, running CRUD tests for Doctrine 2 2009-01-07 17:46:02 +00:00
romanb
1f6676f1d9 cache driver corrections 2009-01-06 21:47:29 +00:00
romanb
7363fc3ec0 More ClassMetadataFactory tests 2009-01-06 18:30:51 +00:00
romanb
c2ab01bf7e Added first ClassMetadataFactory tests. 2009-01-06 17:22:23 +00:00
romanb
957a6b2c89 added missing annotation driver class. small refactorings. added first ClassMetadata serialization tests. 2009-01-05 20:18:56 +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
2aea62a498 [1.0, 1.1, 2.0] fixes #1599 Thanks for the report! 2008-10-23 03:43:36 +00:00
guilhermeblanco
3086835fe8 Second part of commit, including the Doctrine/ORM/Query namespace. 2008-09-23 02:47: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
2aa542841f minor tweak to get tiny perf. improvement 2008-09-13 20:29:44 +00:00
romanb
8615e8e90e minor refactoring 2008-09-13 20:12:08 +00:00
romanb
6db507c465 Some array/object related fixes to hydration 2008-09-13 20:06:49 +00:00
romanb
580f21c41c more cleanups. introducing ClassLoader. 2008-09-13 12:40:17 +00:00
romanb
76abfb84fb removed some more legacy 2008-09-13 10:36:58 +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
romanb
e64e33494a added base exception 2008-09-12 13:08:01 +00:00
romanb
0223d7a454 moved Collection 2008-09-12 13:07:08 +00:00
romanb
34c830e309 moved Collection 2008-09-12 12:34:46 +00:00
romanb
c24ecd7bcf moved nativequery 2008-09-12 12:28:36 +00:00
romanb
77fefcbd8f moved mappingexception 2008-09-12 12:27:15 +00:00
romanb
b8fb0fd80a moved connectionfactory. removed old adapters. 2008-09-12 12:25:56 +00:00
romanb
b56d8da678 deleting Abstract_old 2008-09-12 12:17:31 +00:00
romanb
be14e7d8a0 moved ActiveEntity 2008-09-12 12:15:52 +00:00
romanb
9d6e778a80 further cleanup in configuration 2008-09-12 12:14:14 +00:00
romanb
a502b130cf removed orm dependency from Common::Configuration 2008-09-12 12:11:59 +00:00
romanb
b140ea7163 improved _isDoctrineEntity check 2008-09-12 12:04:25 +00:00
romanb
90047298c5 removed old files 2008-09-12 11:01:59 +00:00
romanb
8c06f2127a 2008-09-12 11:00:26 +00:00
romanb
aea6a947c8 moved configuration 2008-09-12 10:58:33 +00:00
romanb
b6642e2dce moved event stuff 2008-09-12 10:55:06 +00:00
romanb
0ef216a9b5 moved more files to TODO 2008-09-12 10:50:20 +00:00
romanb
18ec38eef7 moved Entity 2008-09-12 10:40:23 +00:00
romanb
9c11c36bb3 moving files to TODO 2008-09-12 10:21:20 +00:00
romanb
6b87c1fd06 moved schema management 2008-09-12 10:17:13 +00:00
romanb
4f380c4eca moved pessimistic locking to TODO 2008-09-12 10:08:06 +00:00
romanb
179b0daac2 moved commitordercalculator/node 2008-09-12 10:06:42 +00:00
romanb
d05522258a moved id generators 2008-09-12 10:02:06 +00:00
romanb
43e35d3bfd moved hydration stuff 2008-09-12 09:58:02 +00:00
romanb
bfff430ea9 moved orm import 2008-09-12 09:46:55 +00:00