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

1176 Commits

Author SHA1 Message Date
davidc
62fbe90fc7 Better sequence handling, making sure we are using DEFAULT VALUES with identify set to off.. we turn it off (identity insert, then we insert). 2007-07-03 22:56:56 +00:00
romanb
42ef7176ae Introduced setHydrationMode() and new hydration constants. 2007-07-01 13:46:34 +00:00
zYne
20e6b007f7 2007-07-01 12:11:44 +00:00
zYne
cc7b1367fa support for expressional column values 2007-07-01 11:27:45 +00:00
meus
fa6523a4bf fixed some inconsitensies with the codeing style 2007-07-01 10:47:44 +00:00
meus
999aeff0de added new xml options record_name and collection_name so that you can override default behavior if wanted 2007-07-01 10:46:24 +00:00
zYne
9703f18ca8 2007-06-29 12:45:26 +00:00
zYne
0624cbd867 2007-06-29 10:18:05 +00:00
zYne
b080397f02 2007-06-29 09:39:03 +00:00
zYne
17410fc243 2007-06-28 22:16:24 +00:00
zYne
5b2c57af1f 2007-06-28 21:43:31 +00:00
zYne
2d2e01a783 2007-06-28 19:40:33 +00:00
zYne
57b4a549f2 2007-06-28 19:19:47 +00:00
zYne
c02c83d4a7 2007-06-28 13:15:24 +00:00
zYne
417b71f447 2007-06-28 12:11:55 +00:00
zYne
f4842edd98 2007-06-28 12:00:49 +00:00
zYne
b4ad603841 2007-06-28 11:56:56 +00:00
zYne
5586bf92ec 2007-06-28 10:39:40 +00:00
zYne
501e8e9158 2007-06-27 22:40:17 +00:00
zYne
e1979612c7 2007-06-27 22:29:57 +00:00
zYne
2a2cb285a0 2007-06-27 18:42:47 +00:00
zYne
279f3d69f9 2007-06-27 18:03:16 +00:00
zYne
07a710ef0b 2007-06-27 17:51:51 +00:00
zYne
760e598ba5 2007-06-27 17:46:34 +00:00
zYne
a6139bb381 2007-06-27 17:41:02 +00:00
zYne
e3719874bd 2007-06-27 16:59:23 +00:00
zYne
9f604e7be5 2007-06-27 16:30:13 +00:00
zYne
6d29c834de deprecated countRelated() 2007-06-27 16:22:41 +00:00
zYne
94fb249ea2 2007-06-27 16:21:29 +00:00
meus
a164c6a2cd fixed some in the export xml functions to correctly show records if no ignore_fields are set and to use database table name and not classname as basis for xml containers 2007-06-27 08:14:05 +00:00
nicobn
2acd30624d Added a new method to give more options to the user. 2007-06-27 02:44:20 +00:00
zYne
81d39c5026 2007-06-26 23:12:45 +00:00
zYne
625b6a3f82 2007-06-26 22:35:08 +00:00
subzero2000
741cc3f045 Corrected Doctrine_EventListener method names. Fixes #366 2007-06-26 22:30:23 +00:00
subzero2000
d4bc0d3637 Ensure usage of Doctrine_Connection_Statement rather than PDOStatement in Doctrine_Connection::execute(). Fixes #365 2007-06-26 22:29:31 +00:00
subzero2000
031b2ba70c Added check to ensure a foreign object is actually a Doctrine_Record before calling isModified. 2007-06-26 21:06:19 +00:00
zYne
c5fc122852 fixes #364, optimized the bulkDelete for composite primary keys, security check for circular references in cascading saves 2007-06-26 13:08:58 +00:00
RossC0
82432b33df #368 refs: r1846 Missed Doctrine_identifier 2007-06-26 12:51:46 +00:00
zYne
8b8ae07e00 2007-06-26 12:08:50 +00:00
zYne
397607762b 2007-06-26 11:35:58 +00:00
zYne
ae8f683856 2007-06-26 11:19:25 +00:00
zYne
4ed4477177 2007-06-26 10:23:23 +00:00
zYne
87474aa019 fixes #367 2007-06-26 10:12:00 +00:00
zYne
a3f2cae863 fixes #360 2007-06-26 10:05:26 +00:00
zYne
d76814c8d1 removed Doctrine_Identifier 2007-06-26 09:51:08 +00:00
zYne
4add4697d0 removed deprecated classes 2007-06-26 09:42:50 +00:00
nicobn
215d06c544 - Moved the record template inside the builder class, otherwise it is
not included in the bundle; removed Record.tpl
- Changed manual newlines to PHP_EOL
- Added a parameter to explicitly set the table name
- Added a parameter to explicitly set the class file target
2007-06-26 06:03:15 +00:00
subzero2000
f3245d4389 Corrected minor typo in phpDoc comment. 2007-06-26 04:36:12 +00:00
nicobn
d548a43984 The method is not static anymore, replaced self by $this. 2007-06-26 00:58:21 +00:00
nicobn
4d5745c7eb Added two parameters so a different file name / class name can be specified. 2007-06-26 00:41:48 +00:00
zYne
15db4bd535 2007-06-25 21:36:45 +00:00
zYne
fd54aae035 2007-06-25 20:52:42 +00:00
zYne
d4cbba723b 2007-06-25 20:49:15 +00:00
zYne
612793d9cb fixes #359 2007-06-25 20:08:16 +00:00
zYne
f86ac4c8e2 getDbh() now auto-connects 2007-06-25 19:56:15 +00:00
zYne
7488435668 2007-06-25 19:16:39 +00:00
zYne
1273563b31 Export now executes the constraint clauses after the CREATE TABLE clauses 2007-06-25 19:03:58 +00:00
zYne
c45823aa49 new transaction tests 2007-06-25 18:47:36 +00:00
subzero2000
a795996efa Addresses issue of infinte function recursion when saving related objects. Fixes #363. 2007-06-25 17:51:37 +00:00
zYne
a593d746c3 2007-06-25 17:51:19 +00:00
subzero2000
dea4968a23 Completes deprecation of Doctrine_Db. Fixes #362. 2007-06-25 17:48:44 +00:00
zYne
fb46481ab2 added namespaces for event constants 2007-06-25 17:24:20 +00:00
zYne
efea8acc66 2007-06-25 17:01:29 +00:00
nicobn
83128e79b4 Removed debug lines (let's hope I did not forget anything else !) 2007-06-25 17:00:43 +00:00
nicobn
a36461c825 /* */ to // style comments in methods 2007-06-25 16:56:46 +00:00
nicobn
56e2d36281 Coding standard compliance 2007-06-25 16:54:55 +00:00
zYne
4f7e92ffb9 2007-06-25 10:21:57 +00:00
zYne
14488476fc 2007-06-25 10:16:54 +00:00
zYne
e1fbae22a4 EventListener method names updated 2007-06-25 10:08:03 +00:00
zYne
628aac0ef4 2007-06-25 09:12:09 +00:00
zYne
ab1f1de913 2007-06-24 22:23:53 +00:00
zYne
0d5b4493c3 formatting fix 2007-06-24 22:12:46 +00:00
zYne
ee07246d67 2007-06-24 22:04:57 +00:00
zYne
401c3fe9b7 2007-06-24 21:50:19 +00:00
zYne
0a2b07350a deprecated Doctrine_Db 2007-06-24 21:47:06 +00:00
zYne
782cbe37f8 new template methods 2007-06-24 21:37:19 +00:00
zYne
0ea15604fd data type check 2007-06-24 21:05:12 +00:00
zYne
431b63d6bd fixes #356 2007-06-24 21:04:54 +00:00
zYne
b116d3ad3f 2007-06-24 20:11:41 +00:00
hansbrix
2206476d55 avoid attempting to export non-record classes like symfony's sfDoctrineRecord 2007-06-23 22:53:00 +00:00
nicobn
613fdf0952 Added the XML schema import facilities. 2007-06-22 17:48:27 +00:00
gnat
658d4bb618 Commented out unreacheable code. 2007-06-22 17:39:45 +00:00
gnat
2a7037cd31 uninitialized/unknown variables 2007-06-22 17:38:08 +00:00
gnat
80f15ee668 undefined/uninitialized variable 2007-06-22 17:37:32 +00:00
gnat
4ad0c5045a undefined/uninitialized variables 2007-06-22 17:37:06 +00:00
gnat
f62897b873 While updating sfDoctrine, stumbled across these errors. this->_stmt->queryString is a protected field and should be access from getQuery() instead. 2007-06-21 16:37:27 +00:00
zYne
8faf31e3ae 2007-06-20 14:12:31 +00:00
zYne
68b3a6a966 new classes Doctrine_Event, Doctrine_Connection_Profiler_Exception and Doctrine_Util 2007-06-19 23:34:30 +00:00
zYne
113ac3b9e0 1. Merging two event listener APIs
2. Merging Doctrine_Db functionality into Doctrine_Connection

3. Merging Doctrine_Db modules to Doctrine_Connection plugins
2007-06-19 23:33:04 +00:00
zYne
bef66f5b4a 2007-06-19 23:28:39 +00:00
zYne
5718cbb16c 2007-06-19 23:20:39 +00:00
zYne
99ad6fbbc9 2007-06-19 23:15:52 +00:00
zYne
ea30a65b57 2007-06-19 23:07:05 +00:00
zYne
7eba036cdc 2007-06-19 22:55:34 +00:00
zYne
b525df802e 2007-06-19 22:02:11 +00:00
zYne
fbc1d9c3ec 2007-06-19 21:16:04 +00:00
zYne
ad3f5bb6ff 2007-06-19 19:51:25 +00:00
zYne
4ed1d1154a 2007-06-19 19:32:52 +00:00
zYne
91f51b92b9 fixes #351 2007-06-19 19:26:18 +00:00
zYne
50c9cf3bc6 2007-06-19 18:53:46 +00:00
zYne
7cac28ba34 2007-06-19 12:25:28 +00:00
zYne
a7632ff797 fixed index generation 2007-06-19 11:18:10 +00:00
zYne
0c560d73f9 2007-06-19 11:10:13 +00:00
zYne
997d066f02 fixed dropTable() 2007-06-19 10:58:54 +00:00
zYne
a0dd44ad63 2007-06-19 10:43:19 +00:00
zYne
c5d0890904 2007-06-19 10:40:39 +00:00
zYne
1c92387852 2007-06-19 10:33:48 +00:00
zYne
6ff9ee9124 2007-06-19 10:15:44 +00:00
zYne
3736c71a2c 2007-06-19 10:06:19 +00:00
zYne
ab530652bb added getRoot 2007-06-18 23:42:30 +00:00
zYne
a770f83d45 DQL-to-SQL lazy conversion 2007-06-18 22:30:15 +00:00
zYne
78e1ec9757 2007-06-18 21:22:11 +00:00
zYne
a6a612332f 2007-06-18 20:00:44 +00:00
zYne
45ceb8b03b 2007-06-18 19:58:53 +00:00
zYne
c12f764c95 tests for index auto-adding 2007-06-18 19:20:49 +00:00
zYne
1ad4afaf8a 2007-06-18 18:54:48 +00:00
zYne
7249b971f0 formatting fix 2007-06-18 18:30:19 +00:00
zYne
cfbcc8d4ee gzip support 2007-06-18 18:27:11 +00:00
zYne
8784fe6644 2007-06-18 18:18:20 +00:00
zYne
33a6a5e3ab 2007-06-17 20:22:39 +00:00
zYne
efb8fc9ed3 2007-06-17 17:57:08 +00:00
zYne
af09158d12 2007-06-17 17:50:05 +00:00
zYne
b8353881b7 fixed sequence handling 2007-06-17 17:49:13 +00:00
zYne
642d44d3d9 2007-06-17 17:14:04 +00:00
zYne
9ed0e6e886 2007-06-17 17:01:35 +00:00
zYne
c5291aedd7 2007-06-15 11:56:55 +00:00
zYne
042a4e411f fixes #346 2007-06-15 10:33:15 +00:00
zYne
2685cf2315 fixes #347 2007-06-15 10:26:45 +00:00
zYne
d72c9a23cd fixes #345 2007-06-14 21:50:12 +00:00
zYne
a4e434081a 2007-06-14 21:22:28 +00:00
zYne
4dede8c6d1 added exportClasses() 2007-06-14 20:49:11 +00:00
zYne
956b4bb0ca added exportSql() 2007-06-14 20:44:40 +00:00
zYne
82b9d0739c foreign key support 2007-06-14 20:43:04 +00:00
zYne
62f72a7014 2007-06-14 20:37:11 +00:00
zYne
0bf5bf839c 2007-06-14 20:29:33 +00:00
zYne
c8ac51e864 little bug fixes 2007-06-14 20:18:25 +00:00
zYne
3e57286584 doc block fix 2007-06-14 18:17:07 +00:00
zYne
d6095a2420 added IntegrityMapper for future emulation purposes 2007-06-14 18:15:33 +00:00
zYne
72466b364e 2007-06-14 16:01:15 +00:00
zYne
2d088df162 fixed E_STRICT issue 2007-06-14 15:01:58 +00:00
zYne
13c3f788b2 2007-06-14 14:02:40 +00:00
meus
71fb15833d Fixed some spelling errors in xml export 2007-06-14 12:23:02 +00:00
meus
be2f05d8f8 Since SimpleXML only output UTF, we say that the XML is UTF-8. 2007-06-14 12:05:46 +00:00
pookey
a53d19a49f * Commenting out a line in export, I've no idea what it's meant to do, but it breaks things.
* ZYNE! you need to look at this ;)
2007-06-14 11:09:53 +00:00
zYne
d1a1697a5f E_STRICT fixes 2007-06-13 22:31:15 +00:00
zYne
f8134df165 2007-06-13 22:18:34 +00:00
zYne
abfd89192e fixed a bug in import template 2007-06-13 22:16:50 +00:00
zYne
0aa1056c35 2007-06-13 22:13:19 +00:00
zYne
dc2e1d31cb 2007-06-13 22:10:21 +00:00
zYne
6b5bfea300 2007-06-13 22:08:15 +00:00
zYne
c45c3e8331 2007-06-13 22:03:30 +00:00
zYne
03e62f95f0 ported stuff from MDB2 2007-06-13 21:58:22 +00:00
zYne
27ae95af91 dropDatabase() added 2007-06-13 21:41:20 +00:00
zYne
1a14aa301d MDB2 porting continues 2007-06-13 21:37:33 +00:00
zYne
d9678357aa ported getTemporaryTableQuery from MDB2 2007-06-13 21:34:00 +00:00
zYne
ca6a13878a 2007-06-13 21:29:18 +00:00
zYne
deef2137bb ported sequence methods from MDB2 2007-06-13 21:28:49 +00:00
zYne
8d8b66eb1d porting features from MDB2 2007-06-13 21:21:13 +00:00
zYne
365bdc23d0 enhanced mysql driver foreign key support 2007-06-13 21:11:36 +00:00
zYne
e1fb5e5345 removed iterator references (those will be added when the implementation is ready) 2007-06-13 20:22:46 +00:00
mahono
d1085b0056 added Doctrine_Record->isModified() 2007-06-13 12:31:03 +00:00
zYne
34a54f52f8 2007-06-13 11:02:30 +00:00
zYne
0c857398f1 2007-06-12 20:39:27 +00:00
pookey
f69ba1bf5c * fixing boolean values, casting them to bool when reading from the database 2007-06-12 20:31:20 +00:00
zYne
bbc35e3ff4 E_STRICT fix 2007-06-12 19:46:33 +00:00
zYne
ffdf6637e4 private -> protected 2007-06-12 19:45:28 +00:00
zYne
8007b32ca0 drafting Doctrine_Db functionality into connection class 2007-06-12 19:39:03 +00:00
zYne
e4db5eb3a4 made compiler dynamic 2007-06-12 19:05:56 +00:00
zYne
c417a3b3a6 boolean value handling fix 2007-06-12 16:52:35 +00:00
zYne
1cfe7fc65a 2007-06-12 16:18:43 +00:00
zYne
8ee01ce3b2 2007-06-11 23:37:24 +00:00
zYne
8eef3f44c4 updated doc blocks, added savepoint as optional transaction parameter 2007-06-11 23:25:46 +00:00
zYne
595071f767 added full support for join table self-referencing 2007-06-11 19:27:16 +00:00
zYne
670a961a3b 2007-06-11 15:40:31 +00:00
zYne
43af7b69f2 2007-06-11 15:33:59 +00:00
zYne
216cdde6a9 2007-06-10 19:43:52 +00:00
zYne
a361fdaf1a 2007-06-10 19:39:50 +00:00
zYne
44c2399cdf added Mock driver 2007-06-10 19:38:22 +00:00
zYne
d275bed4e7 fixed sequence handling 2007-06-10 19:28:47 +00:00
zYne
1238a5000a fixed some more E_STRICT issues 2007-06-10 19:20:40 +00:00
zYne
6ea281f1d9 fixed E_STRICT issues 2007-06-10 19:17:26 +00:00
zYne
6d8003c32e made Firebird adhere to strict standards 2007-06-10 19:12:01 +00:00
zYne
b70f6cd7ac 2007-06-10 19:09:36 +00:00
zYne
ca775fdc99 fixed many-to-many column guessing 2007-06-09 21:54:08 +00:00
zYne
115cadb081 complete support for DISTINCT keyword 2007-06-08 20:17:17 +00:00
zYne
a358559882 2007-06-08 19:29:01 +00:00
zYne
7fc8eebf10 2007-06-08 19:27:38 +00:00
zYne
a64e675871 2007-06-08 19:07:32 +00:00
zYne
f2895955e8 2007-06-07 20:46:08 +00:00
runa
7a00232c7a fixes bug with extended-non-Doctrine_Record tables and makes the relationship parser to fallback to the old method to find keys if it cannot be guessed 2007-06-07 19:20:24 +00:00
romanb
42170dd406 Fixed #328
Ticket: 328
2007-06-07 19:17:56 +00:00
zYne
bc717ac900 2007-06-07 18:31:11 +00:00
zYne
cc998bf165 2007-06-07 18:21:07 +00:00
zYne
7bacdf0721 2007-06-07 17:58:41 +00:00
zYne
a00c6061ab One-to-one relation fetching fixed 2007-06-07 17:04:56 +00:00
zYne
7bb0a29819 2007-06-07 16:26:01 +00:00
zYne
22a2494569 2007-06-06 00:12:44 +00:00
zYne
86c5a659ed 2007-06-06 00:02:50 +00:00
zYne
6ef0cc9993 2007-06-05 23:58:11 +00:00
zYne
c697f09f32 2007-06-05 23:35:11 +00:00
zYne
3230021f7f Proper false statement handling 2007-06-05 23:19:12 +00:00
zYne
b41714eec5 2007-06-05 23:15:15 +00:00
zYne
2a99edae06 2007-06-05 22:37:38 +00:00
zYne
e42bb0e506 2007-06-05 21:02:21 +00:00
zYne
84eaea70d1 2007-06-05 21:00:39 +00:00
zYne
5bb1dbb893 2007-06-05 20:55:54 +00:00
zYne
1e2b0bf67b 2007-06-05 19:23:01 +00:00
zYne
c8d36a399a Removed deprecated AccessorInvoker 2007-06-05 19:14:43 +00:00
zYne
dcc3bd8c7d 2007-06-05 18:38:00 +00:00
zYne
33fecefdb6 2007-06-05 17:56:04 +00:00
zYne
cc56542d11 2007-06-04 22:55:47 +00:00
zYne
a0a9df9b71 2007-06-04 22:45:03 +00:00
zYne
4d0310bfd5 2007-06-04 22:38:39 +00:00
zYne
63bca659f8 huge bug fix for new hydration algorithm 2007-06-04 22:37:27 +00:00
runa
a41cd2bb01 support for unique columns in multikey tables 2007-06-04 18:47:26 +00:00
romanb
d7d1bdd97a Bugfix for parseData2(). Unrelated to the issues mentioned in my previous commit. 2007-06-02 20:33:41 +00:00
zYne
2662b46e9a DQL aggregate value model rewrite 2007-06-01 10:17:50 +00:00
zYne
62e1e7d6b9 2007-05-31 22:00:59 +00:00
zYne
a5ab96546e 2007-05-31 21:06:11 +00:00
zYne
bf3b4d6e75 2007-05-31 20:13:04 +00:00
zYne
bc1d7e0cd4 2007-05-31 20:11:58 +00:00
zYne
e3cc035103 2007-05-31 18:47:08 +00:00
zYne
e7732ee975 DQL limit-subquery-algorithm ORDER BY handling fixed 2007-05-31 18:30:47 +00:00
zYne
d4c12c357d new DQL Hydration algorithm ! 2007-05-31 17:45:07 +00:00
zYne
12a9f30a76 2007-05-30 10:38:32 +00:00
zYne
ecbecaa67b new attribute Doctrine::ATTR_LOAD_REFERENCES 2007-05-30 10:20:21 +00:00
zYne
b8559e37ec 2007-05-30 10:19:52 +00:00
zYne
58ec853b36 2007-05-29 19:20:39 +00:00
zYne
b969552cc2 2007-05-29 18:59:14 +00:00
zYne
cc01ca4686 2007-05-29 18:55:46 +00:00
zYne
e448bcb889 2007-05-29 17:36:15 +00:00
zYne
e77b65bbcf first (ugly) draft for array population algorithm 2007-05-28 19:03:57 +00:00
zYne
b774c98777 2007-05-28 15:13:11 +00:00
romanb
2f0178d273 Two bugfixes. 2007-05-28 09:54:29 +00:00
romanb
502103d7a4 Performance improvements and a small fix. 2007-05-27 20:00:53 +00:00
zYne
560079825e 2007-05-27 19:05:33 +00:00
zYne
fa11260e75 2007-05-27 18:56:04 +00:00
zYne
2973b274e4 2007-05-27 18:52:33 +00:00
zYne
0b819a2919 2007-05-27 18:50:56 +00:00
zYne
6673186970 dql resultSet cache, first draft 2007-05-27 11:38:16 +00:00
zYne
520178509d 2007-05-26 19:50:40 +00:00
zYne
adc870d2e5 old relation adapter layer now supports tree relations 2007-05-26 17:04:41 +00:00
zYne
49574ce956 2007-05-26 16:49:58 +00:00
zYne
adc6c1b22a new connection module: Formatter 2007-05-25 09:45:41 +00:00
zYne
1e5c0d674c fixes #333 2007-05-24 22:08:54 +00:00
zYne
b1a7875618 2007-05-24 19:47:28 +00:00
zYne
bf263fe1b3 2007-05-24 19:29:27 +00:00
zYne
54fcf19fdc 2007-05-24 18:35:52 +00:00
zYne
6b86c9fa47 2007-05-24 18:30:18 +00:00
zYne
b4bcc51c12 2007-05-24 18:21:26 +00:00