1
0
mirror of synced 2024-12-15 07:36:03 +03:00
Commit Graph

225 Commits

Author SHA1 Message Date
Jonathan.Wage
7b2f77a622 Added MultipleAggregateValue test case 2007-06-12 21:35:18 +00:00
zYne
595071f767 added full support for join table self-referencing 2007-06-11 19:27:16 +00:00
zYne
5d9465870d 2007-06-11 15:45:55 +00:00
zYne
a3bc368b50 2007-06-10 19:40:14 +00:00
zYne
a00c6061ab One-to-one relation fetching fixed 2007-06-07 17:04:56 +00:00
romanb
cab7c8ea45 New test case for one-one relation fetching. 2007-06-05 19:33:09 +00:00
romanb
2e6ed4d02f Updated 2 test cases to outline two major issues with the new hydration (at least i think that it has to do with the problems):
1) When the result set is in a custom order, components may be doubled (this already occured half a year ago though the symptoms were different (items were assigned to the wrong collection).
2) Accessing related components that are already loaded (but empty) results in lots of extra queries. The only way to get around that is do wrap an isset() check around nearly all places before accessing a relation. This was not the case in earlier revisions though at that time an isset() was sometimes needed, too to prevent extra queries. But now it seems to be necessary everywhere.
2007-06-02 11:36:31 +00:00
zYne
2662b46e9a DQL aggregate value model rewrite 2007-06-01 10:17:50 +00:00
zYne
95f539567d 2007-05-29 18:41:54 +00:00
romanb
782f073ebe Added a failing test. 2007-05-28 17:02:18 +00:00
zYne
8386d6915e 2007-05-27 18:56:54 +00:00
pookey
32b564e742 minor change to test suite making it behave better in cases of exceptions and fatal errors 2007-04-18 19:29:41 +00:00
pookey
772701eaa3 formatting changes to run.php 2007-04-18 19:28:21 +00:00
zYne
2274554e36 2007-04-18 19:03:36 +00:00
zYne
7f68e096b1 2007-04-11 19:12:52 +00:00
meus
f402f879b2 Added support for fetching a subclass when querying the baseclass if the
inheritance mapping is met. Added tests for this and included tests. Wrote
documentation.
2007-04-08 14:55:14 +00:00
zYne
f7a7472cae Foreign key exporting added 2007-03-21 22:11:18 +00:00
zYne
1dfbc5b007 fixed the handling of aliases within DQL DELETE and UPDATE queries 2007-03-01 21:48:09 +00:00
zYne
a2046460b5 Relation model rewrite, draft 2 2007-02-17 12:38:02 +00:00
zYne
a7d1bc5633 Cache implementation continues 2007-02-05 12:04:56 +00:00
zYne
1132282fee Doctrine_Db_Statement no longer depends on PDOStatement 2007-02-01 22:46:59 +00:00
zYne
af3e40aef6 cache test case skeletons added 2007-01-29 21:37:51 +00:00
zYne
4319d095f6 little sequence handling fix 2007-01-29 20:10:51 +00:00
zYne
25f1d5e8ff Fixed DQL many-to-many alias handling 2007-01-27 10:08:06 +00:00
zYne
b7ab722920 2007-01-24 22:50:49 +00:00
zYne
d77ffb28c9 added support for column aliases 2007-01-23 16:27:20 +00:00
pookey
bf749ae434 setting execution time to 900 seconds 2007-01-15 18:22:38 +00:00
zYne
e91feeafb7 little fix 2007-01-09 23:14:22 +00:00
zYne
16c809443f added query join test case 2007-01-09 23:11:32 +00:00
zYne
05d969515e 2007-01-09 22:59:15 +00:00
zYne
bd46df215d 2007-01-07 23:52:15 +00:00
zYne
1aecd11e34 2007-01-05 22:13:44 +00:00
zYne
b0f3a5d77a test cases updated 2007-01-05 22:07:50 +00:00
zYne
83d89b766d TreeStructure bug fixed 2007-01-04 21:08:56 +00:00
zYne
f900a51a7d Custom join condition support for DQL 2007-01-03 15:34:34 +00:00
david
ececdadf2c added a test for a self-referential tree structure using only one table 2007-01-03 14:56:03 +00:00
zYne
afb21d1a40 2007-01-01 18:36:37 +00:00
zYne
a364b86a10 Moved export test cases 2006-12-27 21:30:25 +00:00
zYne
d1ad19fdd8 Modified the test structure 2006-12-27 21:20:26 +00:00
zYne
cf939c6d3a Doctrine_Hook first draft + test cases 2006-12-23 22:45:36 +00:00
zYne
7b48189ba5 new DQL aggregate value model 2006-12-21 22:06:08 +00:00
zYne
df0511e9dc Updated some docs, added identifier quoting to DQL, fixed some test cases, fixed dql select part handling 2006-12-03 20:05:09 +00:00
zYne
127ad3a903 2006-12-02 20:51:26 +00:00
zYne
fcce6bd239 Updated transaction drivers, ORM core now uses the new Export API 2006-12-02 14:40:47 +00:00
zYne
fe88258168 Updated classes to use new Transaction module 2006-11-29 21:09:02 +00:00
zYne
b8257aad63 updated datadict driver test cases 2006-11-28 18:39:31 +00:00
zYne
8b969d0398 added tests for oracle datadict driver 2006-11-27 22:49:13 +00:00
zYne
b1d5eedb47 Updated test cases 2006-11-23 23:23:24 +00:00
zYne
6daa1e3443 fixed references to deprecated getTransaction() and getUnitOfWork() methods 2006-11-16 20:31:39 +00:00
zYne
02cc9b2f6c Removed cache constants, added portability constants 2006-11-16 12:45:34 +00:00
pookey
b3c5aeb225 issues with case sensitivity 2006-11-11 10:54:55 +00:00
zYne
28ea79488a 2006-11-10 23:15:34 +00:00
zYne
34ecd30498 Doctrine_Query::where() now accepts prepared statement parameters 2006-11-08 19:12:16 +00:00
zYne
fef149dd62 Doctrine_Db_* updates 2006-11-07 23:12:05 +00:00
zYne
ba4c83ef3a Total rewrite for DQL alias model: now using short aliases instead of long aliases (needed for Oracle portability). 2006-11-05 19:24:28 +00:00
zYne
7ef869ee40 Refactored Doctrine_Connection and Doctrine_Record, fixes #212 2006-10-30 23:00:09 +00:00
zYne
048d7788ce Many-to-Many relation handling fixed, fixes #193 2006-10-29 23:24:50 +00:00
zYne
dd73f6de4a Fixes #205 2006-10-26 23:05:55 +00:00
zYne
53bdc31ad5 added adapter skeletons, fixed wrong limit subquery ordering 2006-10-26 22:12:58 +00:00
zYne
4cd29eaf2c DQL enum handling fixed, fixes #202 2006-10-26 20:53:59 +00:00
zYne
ff85f8c668 Fixes #194, added Doctrine_Relation_ManyToMany_TestCase
Ticket: 194
2006-10-25 21:12:30 +00:00
zYne
0835a57ce1 Fixes #192, added Doctrine_Record_State_TestCase
Ticket: 192
2006-10-25 20:02:40 +00:00
zYne
daaab94cfe Developed Doctrine_Import, changed Doctrine_Schema objects to have unified constructor 2006-10-23 19:55:30 +00:00
zYne
599dc759fb Fixes #180 2006-10-20 18:21:42 +00:00
zYne
ec8f446fad Fixes #175 2006-10-18 20:17:49 +00:00
zYne
1c8cf0271e DQL: DELETE support added 2006-10-18 17:37:20 +00:00
pookey
34a8acba63 adding a test to show a situation where cascading inserts do not work 2006-10-17 19:02:00 +00:00
zYne
bfcfa9f2f2 Aggregate function support added 2006-10-17 17:21:21 +00:00
zYne
da6f4a3849 Fixes #166 2006-10-14 16:58:59 +00:00
zYne
f40601fefe Fixes #161, DQL : added support for EJB 3 -style JOIN syntax 2006-10-12 19:57:56 +00:00
zYne
8b4bc0f41c Fixes #159, #160, added EXISTS expression support as well as correlated subquery support 2006-10-11 20:44:21 +00:00
zYne
67da38b07d Validators updated, *NOTE* this breaks BC:
- validators codes are now string instead of integers (constants)
- validating is now handled in record level
- added new component Doctrine_Validator_ErrorStack
- new methods Doctrine_Record::isValid() and Doctrine_Record::getErrorStack()
- errorStack now as a record instance variable
2006-10-08 18:12:27 +00:00
zYne
847bd1ade6 new attribute: Doctrine::ATTR_ACCESSORS, DQL subquery support, accessor invoking support 2006-10-06 16:50:00 +00:00
zYne
4408774100 DQL Component Aliases added! Fixes #142
Ticket: 142
2006-10-03 17:24:13 +00:00
zYne
8abb979578 Fixes #85 2006-10-01 16:14:26 +00:00
zYne
ab99a5fcc3 Fixed fatal bug in Doctrine_Hydrate resulting in wrong mappings when result set contains rows in 'wrong' order. 2006-10-01 14:35:38 +00:00
romanb
05a23f6a30 Added a test case to track an ugly bug. 2006-10-01 13:54:15 +00:00
zYne
4eb1060b13 added new tests 2006-10-01 11:21:25 +00:00
zYne
00cbc5d18e Fixed many-to-many handling when join table component is accessed before the associated component, fixes #136, #84 2006-10-01 10:10:11 +00:00
zYne
bbc3d3f6be Major change on how transactions are being handled: insert / update queries are now executed immediately and only deletes are being gathered (due to delete optimization strategies). Fixes #138, #135 2006-09-30 12:36:03 +00:00
zYne
7b84d15530 Fixes #126, #127
Ticket: 126
2006-09-27 21:21:33 +00:00
zYne
c239ff4bba Added exception info in Doctrine_Record doc blocks, fixes #125
Ticket: 125
2006-09-27 18:02:13 +00:00
zYne
bed3a3712d added fetch* methods to new Doctrine_DB 2006-09-27 10:55:02 +00:00
zYne
e3f5aa9fb2 Boolean type bugs fixed, fixes #101
Ticket: 101
2006-09-26 21:12:14 +00:00
pookey
70ebe0d9af concept of how we might pass params to the test script 2006-09-25 08:42:15 +00:00
jhassine
6dd9bddc71 If tests are run from command line uses text reporter instead of HTML. 2006-09-25 07:10:37 +00:00
zYne
4bb224a3fc 2006-09-24 19:57:58 +00:00
pookey
0a8123cf7a the start of a new system to allow a defined DSN to be used for testing 2006-09-24 17:11:05 +00:00
zYne
ddca18a141 Removed InvalidKeyException references from Doctrine_Table 2006-09-24 12:55:25 +00:00
zYne
d46cacf233 2006-09-24 09:28:27 +00:00
zYne
1278934f83 Fixed #108
Ticket: 108
2006-09-23 17:02:30 +00:00
Tanken
110a6764e8 Added a unit test for access of one-to-one related object from the foreign side. See ticket #108 2006-09-23 11:56:57 +00:00
pookey
a1bed77af2 added boolean test case 2006-09-22 08:07:49 +00:00
pookey
8ea7b0b8b5 boolean test case added (currently fails on selecting when false) 2006-09-21 21:18:30 +00:00
zYne
1862f00fc6 new Doctrine_DB to the draft 2006-09-21 21:09:58 +00:00
zYne
7b52c80c53 Refactored Doctrine_Connection: separated into two different classes Doctrine_Connection and Doctrine_Transaction 2006-09-20 09:35:29 +00:00
zYne
f2a2d3e51e Fixed DQL OrderBy parser bug 2006-09-18 17:32:12 +00:00
zYne
1c782a086d Support for application level default values 2006-09-15 20:56:25 +00:00
zYne
120d18565c Tests and implementation for DQL functions contains(), like() and regexp() 2006-09-15 10:04:22 +00:00
zYne
eacb78148e added new DQL function: contains 2006-09-14 21:10:02 +00:00