zYne
615dcdb84e
2007-07-05 20:03:38 +00:00
zYne
411779d102
2007-07-05 19:04:37 +00:00
zYne
e4114c47fa
fixed literal enum conversion with joins
2007-07-05 17:25:53 +00:00
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
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
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
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
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
zYne
b6dcef0eee
2007-05-24 18:00:35 +00:00
zYne
2ce1c5f483
2007-05-24 17:49:15 +00:00
zYne
755f30f642
2007-05-24 17:46:32 +00:00
zYne
df773520d6
2007-05-24 17:40:54 +00:00
zYne
7e953aa240
subquery aliases now mapped to aliasMap
2007-05-24 17:22:43 +00:00
zYne
074a434ae2
2007-05-24 17:13:59 +00:00
zYne
4b7a4a0e97
2007-05-24 16:54:42 +00:00
zYne
525e7d74a1
2007-05-24 16:53:51 +00:00
zYne
2d9c165fad
parser caching functionality added
2007-05-24 16:13:50 +00:00
zYne
199d818f38
2007-05-24 14:36:10 +00:00
runa
569ad7cfa0
fixed typo
2007-05-24 14:27:10 +00:00
zYne
e03ef62527
2007-05-24 14:19:44 +00:00
zYne
3d4bcd4099
2007-05-24 13:58:36 +00:00
zYne
28af01fd8b
2007-05-24 13:52:30 +00:00
zYne
60136a4b0a
2007-05-24 13:29:18 +00:00
zYne
775e861f1e
2007-05-24 13:01:58 +00:00
zYne
e3e001efbc
2007-05-23 21:49:27 +00:00
zYne
e922ae7689
2007-05-23 21:13:13 +00:00
zYne
8c54e8d736
fixed delete state handling
2007-05-23 20:41:03 +00:00
zYne
01d8e55bd0
fixed reference setting
2007-05-23 20:33:47 +00:00
zYne
796c53fc87
remove getter / setter invocation from the core, getter / setter generation will soon be part of Import
2007-05-23 20:26:21 +00:00
romanb
c57cf249c6
Important security fix for the e-mail validator. The D modifier was missing in the pattern.
2007-05-23 09:55:32 +00:00
zYne
f2484d1726
2007-05-22 21:05:52 +00:00
zYne
7d10dbe190
transaction deletes no longer unset record identifiers
2007-05-22 20:56:59 +00:00
zYne
58bfed2bec
2007-05-22 20:52:19 +00:00
zYne
7e003d3aa1
transactions now register collections for snapshots
2007-05-22 20:47:27 +00:00
zYne
124fbff038
2007-05-22 20:11:56 +00:00
zYne
f6bb8c9726
2007-05-22 18:09:54 +00:00
zYne
99037abdad
2007-05-22 17:42:47 +00:00
zYne
146b215d06
2007-05-22 16:58:34 +00:00
zYne
71338c3d09
drafting the new relation model, still a lot of work
2007-05-22 15:57:17 +00:00
zYne
b3b1f617fe
2007-05-21 21:52:14 +00:00
zYne
4a379951e6
2007-05-21 21:15:57 +00:00
zYne
2e6d8a9854
2007-05-21 21:06:17 +00:00
zYne
a7d1d643f0
updated doc blocks
2007-05-21 20:36:07 +00:00
zYne
abcc423fbf
new relation parser now supports many-to-many relations
2007-05-21 20:27:56 +00:00
zYne
4f57aac33e
2007-05-21 20:21:49 +00:00
zYne
ec28b0b92a
2007-05-21 20:06:23 +00:00
zYne
e0eafb56d7
2007-05-21 20:06:18 +00:00
lsmith
6cb07b57e6
- fixed handling of non select queries
...
- moved code from _fetch() back into execute() as a result (maybe move the code after parseData() into a private function in order to keep the method size manageable
2007-05-21 19:15:29 +00:00
zYne
5227d51e7e
2007-05-21 17:35:20 +00:00
zYne
9e016069d5
2007-05-21 16:29:07 +00:00
zYne
2f10b04e72
2007-05-21 16:15:20 +00:00
zYne
5b22e5431f
2007-05-21 16:02:30 +00:00
zYne
df18483028
2007-05-20 21:51:10 +00:00
zYne
8bd1c75b4a
added Db2 exception
2007-05-20 21:47:55 +00:00
zYne
598cdb5e01
added adapter exception class
2007-05-20 21:46:46 +00:00
zYne
56e3a39f83
added Db2 adapter
2007-05-20 21:46:10 +00:00
zYne
4aa70a18b0
2007-05-20 21:35:49 +00:00
zYne
999c72bbb6
2007-05-20 21:30:08 +00:00
zYne
0b9ea73aaf
2007-05-20 21:18:52 +00:00
zYne
919da9e6c6
2007-05-20 20:49:42 +00:00
zYne
ff73391637
2007-05-20 20:35:21 +00:00
zYne
7c2dc1a978
2007-05-20 19:28:21 +00:00
zYne
de3242227b
2007-05-20 18:40:53 +00:00
zYne
45f4ec2443
2007-05-20 18:33:29 +00:00
zYne
0f921a8c4d
2007-05-20 17:54:22 +00:00
zYne
10312db4eb
fixed boolean conversion
2007-05-19 22:40:46 +00:00
zYne
71c52205ad
fixed boolean conversion
2007-05-19 22:40:09 +00:00
zYne
b60f68d58e
2007-05-19 22:17:59 +00:00
zYne
a39c35c83b
2007-05-19 19:54:15 +00:00
zYne
531f4a4dea
2007-05-19 18:29:29 +00:00
zYne
5d4b8c45e6
Unified abstract class for RawSql and Query components
2007-05-19 18:06:42 +00:00
zYne
1508803443
2007-05-19 17:49:16 +00:00
zYne
4e888855d1
2007-05-19 17:29:43 +00:00
zYne
c9d9bf1905
2007-05-19 17:05:25 +00:00
zYne
bbe6f1c2ea
2007-05-18 09:35:00 +00:00
zYne
9d8cb481a7
2007-05-18 09:33:51 +00:00
zYne
4b09d95d0f
2007-05-18 09:30:29 +00:00
zYne
9b470a642b
2007-05-18 09:26:38 +00:00
zYne
22753f1931
2007-05-18 09:22:31 +00:00
zYne
62e7ba76db
2007-05-18 09:22:06 +00:00
zYne
68088c16c5
Enum support for placeholders!
2007-05-17 23:13:58 +00:00
zYne
b6b91ac0ee
2007-05-17 21:48:12 +00:00
Jonathan.Wage
a1ef5fbf4b
Fixed issue with isValidNode() and it not accepting an argument when it should allow it.
2007-05-17 19:52:50 +00:00
zYne
6f466c3f9c
2007-05-16 22:51:28 +00:00
zYne
882318613b
2007-05-16 22:45:39 +00:00
zYne
f44784d908
made all manager variables protected and adhere to Zend naming conventions
2007-05-16 22:45:13 +00:00
zYne
5d3660f285
2007-05-16 22:34:38 +00:00
zYne
1b3e981737
2007-05-16 22:28:32 +00:00
zYne
33bb25ac20
2007-05-16 22:22:54 +00:00
zYne
936d442cc0
2007-05-16 21:51:23 +00:00
zYne
2291272ebf
2007-05-16 21:47:23 +00:00
zYne
827755afd3
2007-05-16 21:28:33 +00:00
zYne
82ba74e2e8
2007-05-16 20:27:03 +00:00
zYne
330bf1d408
2007-05-16 19:52:06 +00:00
zYne
f26217c87a
DQL core refactored
2007-05-16 19:20:55 +00:00
zYne
389d137312
2007-05-15 22:37:04 +00:00
zYne
db08423507
2007-05-15 15:33:18 +00:00
zYne
f44cad9c4e
2007-05-15 10:18:34 +00:00
zYne
a430d22cf4
2007-05-15 10:07:05 +00:00
zYne
60276421e7
2007-05-14 23:04:32 +00:00
zYne
86fa70d6d1
2007-05-14 17:56:47 +00:00
meus
00bf8c9522
Fatal error: Cannot make non static method Doctrine_Exception::errorMessage() static in class Doctrine_Connection_Exception
2007-05-14 13:00:14 +00:00
zYne
5b2c3a4ead
2007-05-12 23:27:16 +00:00
zYne
a51e7742fa
added Doctrine_Record_Filter
2007-05-12 22:42:16 +00:00
lsmith
ad0f389870
- added ability to set scale at runtime
2007-05-11 19:20:38 +00:00
lsmith
fd0c11073c
- remove debug code
2007-05-11 19:15:18 +00:00
lsmith
efc7baa19b
- use ATTR_DECIMAL_PLACES when defining a decimal field
2007-05-11 19:13:20 +00:00
zYne
4d1722fba4
added ATTR_DECIMAL_PLACES
2007-05-11 19:08:16 +00:00
zYne
29a6d2ef7f
added new methods
2007-05-11 19:07:06 +00:00
zYne
e3b3439415
2007-05-10 23:46:09 +00:00
zYne
7c78d89217
2007-05-10 23:45:26 +00:00
zYne
f99e3dd476
added Doctrine_Hydrate_Exception
2007-05-10 21:31:09 +00:00
romanb
4b5731baf5
Make Doctrine_Node_NestedSet::delete() work correctly with multiple roots.
2007-05-08 19:35:31 +00:00
subzero2000
86fe74d58e
Added support for gzip and enum types that was missing so when
...
Doctrine_Record::unserialize() calls Doctrine_Record::cleanData(),
the data for gzip and enum types is correct. Fixes #322 .
Also, minor formatting cleanup in Doctrine_Record::serialize().
2007-05-07 22:46:47 +00:00
subzero2000
b68a791bf7
Added back proper type-casting of integer and boolean types that was added in r419 and removed in r422. Fixes #321 .
2007-05-07 22:39:25 +00:00
romanb
f0236dc9a1
More additions to the NestedSet implementation: Added $node->makeRoot() which can be used when using many roots to detach a node from a tree and make it a root node itself.
2007-05-07 18:29:52 +00:00
romanb
e90e62c9f7
Small fix: createRoot() only generates a root id if it doesnt already have a valid value
2007-05-07 16:05:14 +00:00
romanb
a1ee3f97e7
Added support for transparently moving nodes between different trees when using many roots (EXPERIMENTAL!)
2007-05-07 15:49:23 +00:00
zYne
0a58490a1f
2007-05-01 19:26:03 +00:00
zYne
3b48b7911c
2007-04-26 18:06:16 +00:00
zYne
e81891e310
2007-04-26 17:42:03 +00:00
runa
9460ff9e2c
use the connections array for key()
2007-04-24 17:33:10 +00:00
zYne
471a0a0005
2007-04-24 16:59:07 +00:00
zYne
92a6699e9a
2007-04-24 10:15:17 +00:00
romanb
bc24aafd87
Closed #313
...
Ticket: 313
2007-04-23 10:43:09 +00:00
zYne
e990c9e4f8
2007-04-22 11:06:19 +00:00
zYne
c39c751889
2007-04-22 10:54:01 +00:00
zYne
18944f39c6
2007-04-21 22:36:46 +00:00
zYne
f4d160e0d8
2007-04-20 23:58:28 +00:00
zYne
d81a843e73
boolean type fix
2007-04-20 18:18:44 +00:00
monolit
40b7b14fb7
explode queries by any whitespaces, not only spaces
2007-04-20 13:06:22 +00:00
meus
5990090652
Added getCollectionAsXml and cleaned up the getRecordAsXml function. It
...
should return primary_keys correctly now.
2007-04-20 12:42:53 +00:00
monolit
623228b4a9
avoid endless loops with __call in Doctrine_Query when calling non-existent overload method
...
(join, parsejoin, parseparsejoin, ...)
2007-04-20 10:11:49 +00:00
meus
d9b13a5c3a
Added getRecordAsXml that returns an record as XML.
...
In order for this to work specify the xml option in a record.
The xml option is an array that has 2 keys.
ignore_fields is an array of fields that are not displayed in the xml
include_relations(optional) is an array of relations that should be included in
the xml.
2007-04-19 20:24:08 +00:00
monolit
c3439aeebb
Ticket #312
...
Duplicated params in sql when using LIMIT or OFFSET and MYSQL - due to Doctrine_Query::getQuery()
2007-04-19 14:36:29 +00:00
gyim
44101abceb
FIX: Doctrine_Query::count() prevented execute() calls on the same query object
2007-04-19 14:16:04 +00:00
zYne
f6af2616c0
2007-04-18 11:14:38 +00:00
zYne
b71ac561c3
enhanced error handling
2007-04-18 11:11:07 +00:00
zYne
26a723e81d
fixed identifier quoting for update()
2007-04-18 09:49:54 +00:00
zYne
9862f45fc3
another identifier quoting fix
2007-04-18 09:48:23 +00:00
zYne
c5eb26c3ba
identifier quoting fix
2007-04-18 09:47:02 +00:00
zYne
707f801509
2007-04-18 08:59:10 +00:00
zYne
68de3e8244
oci8 alias fix
2007-04-17 22:16:11 +00:00
zYne
b1c307c40a
2007-04-17 22:03:11 +00:00
zYne
9e35c9029b
2007-04-17 17:41:51 +00:00
zYne
10f96e01e3
fixes #309
2007-04-17 17:36:55 +00:00
zYne
7a9a86a5c6
fixes #310
2007-04-17 17:25:08 +00:00
zYne
b81f399c12
2007-04-16 18:08:11 +00:00
zYne
647542d5ee
2007-04-16 17:59:45 +00:00
pookey
ff1886754d
fixed #307
2007-04-16 14:43:12 +00:00
pookey
7b2a2ac84c
refs #307 comment 3
2007-04-16 13:49:14 +00:00
zYne
eaea971fe4
fixes #307
2007-04-14 16:28:09 +00:00
zYne
3ffe5d0f9d
2007-04-13 18:06:48 +00:00
romanb
0d2e83ff8a
made Doctrine_Query ignore empty orderby parameters
2007-04-13 18:03:44 +00:00
zYne
d1b9daa2b1
made Doctrine_Query ignore empty orderby parameters
2007-04-13 17:53:16 +00:00
runa
cd8452aa8b
added copydeep function
2007-04-12 18:32:07 +00:00
romanb
635bc1fa66
Improved the previous fix for the unique validator.
2007-04-12 13:37:45 +00:00
romanb
18766e6579
Fixed an issue with the unique validator.
2007-04-12 08:38:59 +00:00
meus
93c386f612
Fixed double quotes to single quotes
2007-04-11 19:12:38 +00:00
meus
be9d359937
Fixed indentation and other issues related to coding style
2007-04-11 19:06:13 +00:00
zYne
34cce3e0c8
2007-04-11 18:56:44 +00:00
zYne
907156fd02
2007-04-11 18:44:23 +00:00
zYne
b373cb8ef7
fixes #303
2007-04-11 18:37:05 +00:00
zYne
28e937b981
fixes #298
2007-04-11 18:35:15 +00:00
zYne
dcab3087f7
fixes #297
2007-04-11 18:29:27 +00:00
runa
01c93d3e02
bulkdelete delete multikey rows
2007-04-10 17:31:22 +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
1af2164b19
fixes #296
2007-04-03 21:28:06 +00:00
zYne
b47381df1c
2007-04-03 21:19:24 +00:00
zYne
4676d8f4bb
2007-04-03 18:08:50 +00:00
zYne
37bb2d3a7a
2007-04-03 17:41:02 +00:00
zYne
47daaa9cfa
Algorithm for creating the tables in correct order
2007-04-03 17:36:46 +00:00
zYne
b1a3eed4e9
2007-04-02 16:54:46 +00:00
zYne
4f505c6b16
2007-04-02 16:50:35 +00:00
zYne
732bc89a89
fixes #300
2007-03-31 19:49:23 +00:00
zYne
b117b468dd
fixed mysql foreign key issue
2007-03-27 23:00:07 +00:00
zYne
0770450d5b
fixed autoinc field handling for unsigned attribute
2007-03-27 19:38:34 +00:00
zYne
1104ae7017
primary keys now unsigned by default, primary keys no longer used as foreign keys
2007-03-26 20:58:26 +00:00
zYne
4865602ee7
2007-03-26 20:52:34 +00:00
zYne
73942e7ec7
Check constraint parser added
2007-03-23 20:25:56 +00:00
zYne
cd78c4f600
2007-03-23 16:45:24 +00:00
zYne
ef7f3c2bf1
fixes #293
2007-03-23 16:31:35 +00:00
zYne
3c3408a99a
2007-03-23 16:29:58 +00:00
zYne
759c23f490
first draft for sqlite cascading delete emulation with triggers
2007-03-22 13:32:43 +00:00
zYne
306dd80312
sqlite foreign key support
2007-03-22 12:47:37 +00:00
zYne
8428338c21
2007-03-21 23:09:39 +00:00
zYne
f7a7472cae
Foreign key exporting added
2007-03-21 22:11:18 +00:00
gnat
1fbb8b6c08
unitialized or typo variables
2007-03-20 23:22:51 +00:00
gnat
04d0993a35
fixed two typos/non-existent variables.
2007-03-20 23:15:51 +00:00
zYne
e592d77f14
2007-03-18 20:00:45 +00:00
zYne
8bb4d38ee0
2007-03-18 18:38:49 +00:00
zYne
0040261fb8
fixes #290
2007-03-18 18:38:00 +00:00
zYne
24abb16c75
2007-03-16 22:17:32 +00:00
zYne
a9817a03d5
new methods: addSelect() and addHaving()
2007-03-16 22:05:36 +00:00
cpowers
e65f623aea
Added validator for unsigned data types
...
Ticket: 288
2007-03-16 19:19:30 +00:00
zYne
b254399733
fixes #286
2007-03-14 19:57:38 +00:00
zYne
7cb5143eb8
little draft for introducing DI into Doctrine
2007-03-09 13:58:22 +00:00
slickrick
fdf9db4020
* Added varchar default type parser
2007-03-08 23:22:59 +00:00
subzero2000
9143270e06
fixes #281
2007-03-07 23:08:17 +00:00
zYne
13cd323717
2007-03-07 10:57:40 +00:00
zYne
41347bf2be
added Frontbase export driver
2007-03-07 10:55:35 +00:00
zYne
eb55ec4a5f
ported guid() from MDB2
2007-03-07 10:38:45 +00:00
zYne
e68b193c0a
ported listTableViews and listViews from MDB2 cvs
2007-03-07 09:59:44 +00:00
zYne
8bc6813100
fixed DQL DELETE handling for mysql
2007-03-02 22:13:05 +00:00
zYne
1da5baee10
2007-03-02 20:47:17 +00:00
zYne
fecce947ed
fixed the handling of hooked parameters
2007-03-02 18:47:46 +00:00
gyim
84acea5d9a
fixed saving records using multiple connections
2007-03-02 09:23:24 +00:00
zYne
1dfbc5b007
fixed the handling of aliases within DQL DELETE and UPDATE queries
2007-03-01 21:48:09 +00:00
zYne
9b525f348b
updated the DQL DELETE handling
2007-03-01 21:32:08 +00:00
zYne
80093d7f76
fixes #278
2007-02-27 22:54:27 +00:00
zYne
cea5cf384b
added now() support for pgsql driver
2007-02-18 20:50:50 +00:00
zYne
82dbb99386
updated oracle import driver
2007-02-17 18:40:22 +00:00
zYne
7fdb9509f0
2007-02-17 18:35:24 +00:00
zYne
5317ae2227
2007-02-17 18:21:26 +00:00
zYne
b4099e45aa
varchar max length fix
2007-02-17 18:18:44 +00:00
zYne
81a8f3d545
2007-02-17 18:14:32 +00:00
zYne
a2046460b5
Relation model rewrite, draft 2
2007-02-17 12:38:02 +00:00
romanb
d121a4cf2c
Fixed #273
...
Ticket: 273
2007-02-17 10:00:04 +00:00
zYne
180d435e3d
Relation model rewrite, first draft
2007-02-16 22:54:59 +00:00
zYne
a4167f8de8
little bug fix
2007-02-16 19:54:41 +00:00
zYne
008de1024d
2007-02-16 19:16:00 +00:00
zYne
eebe47f0fa
2007-02-15 13:30:05 +00:00
zYne
4a020a90fe
2007-02-15 11:41:00 +00:00
zYne
ee8c1a0a6d
boolean parsing updated
2007-02-15 11:38:26 +00:00
zYne
e80b339d7f
boolean value parsing added
2007-02-15 11:36:43 +00:00
zYne
f4553f800f
2007-02-15 11:23:02 +00:00
zYne
0b3a3c38b3
Index support added!
2007-02-11 22:53:35 +00:00
zYne
5744f045da
updated doc blocks
2007-02-11 08:46:29 +00:00
zYne
89a36ca905
2007-02-11 08:42:13 +00:00
zYne
63de17fe4f
2007-02-11 00:53:44 +00:00
zYne
81a21344bd
2007-02-10 21:51:53 +00:00
zYne
a92d8d7cec
2007-02-10 21:07:47 +00:00
zYne
d4fa4640cb
updated index handling
2007-02-10 20:48:11 +00:00
romanb
93a737b4e1
Added missing multiple root support for Doctrine_Node_NestedSet::getParent()
2007-02-10 18:07:05 +00:00
romanb
18cf2887cf
Added missing multiple root support for Doctrine_Node_NestedSet::getFirstChild() and
...
Doctrine_Node_NestedSet::getLastChild()
2007-02-10 17:58:29 +00:00
romanb
a0def4808f
Added missing multiple root support to Doctrine_Node_NestedSet::getNextSibling()
...
and Doctrine_Node_NestedSet::getPrevSibling()
2007-02-10 17:51:42 +00:00
romanb
e006ebb056
Added missing multiple root support to Doctrine_Node_NestedSet::getAncestors().
2007-02-10 17:32:26 +00:00
zYne
ec6fc6881c
2007-02-10 14:48:23 +00:00
zYne
653b42c2b3
2007-02-10 14:41:52 +00:00
zYne
eef58aff4b
unique index support added
2007-02-10 14:41:24 +00:00
zYne
855ee3a8e3
2007-02-10 14:41:11 +00:00
zYne
89fa42e840
added index()
2007-02-10 14:22:15 +00:00
zYne
31624bce5f
support for unique constraint
2007-02-10 14:22:02 +00:00
romanb
3d8ff310c1
Removed an echo statement of an undefined variable. Possibly a remainder of some debug output.
2007-02-10 14:18:30 +00:00
zYne
99edf66af4
2007-02-10 14:10:51 +00:00
zYne
be5750aee8
2007-02-10 12:35:47 +00:00
zYne
e9d7274fc2
updated import builder
2007-02-10 11:02:52 +00:00
zYne
8703d6e913
2007-02-10 11:02:29 +00:00
zYne
c25911712b
2007-02-10 11:01:04 +00:00
zYne
54239c7f10
better listColumns handling
2007-02-10 10:59:55 +00:00
zYne
9471145115
better listColumns handling
2007-02-10 10:59:34 +00:00
pookey
862b7cdfaf
possible improvements to Cache class
2007-02-09 23:39:01 +00:00
pookey
8844515ffc
fixing error in my previous commit
2007-02-09 23:20:18 +00:00
zYne
e1e97313a2
2007-02-09 23:16:47 +00:00
pookey
160bae1aa3
tiny optimisation, and fix for handling of _data private member variable
2007-02-09 23:16:08 +00:00
pookey
c43d470ac0
fixing var name
2007-02-09 22:58:19 +00:00
zYne
2c306fdce0
2007-02-09 22:43:38 +00:00
romanb
ee2c5f6231
Fixed a bug in Doctrine_Node_NestedSet::getRootValue() and setRootValue(). They were still using underscore property names (roo_column_name, ...).
2007-02-09 22:15:04 +00:00
zYne
2922c9aff6
caching docs
2007-02-09 20:56:04 +00:00
zYne
b3ad23bbd1
cache implementation continues
2007-02-09 20:02:49 +00:00
zYne
52a5ec1704
2007-02-08 22:31:54 +00:00
zYne
21e22ba908
2007-02-08 22:23:47 +00:00
zYne
3ab8a56e39
2007-02-08 22:19:17 +00:00
zYne
badc58d746
comments added
2007-02-08 22:11:18 +00:00
zYne
3c699f66a9
2007-02-08 22:07:11 +00:00
zYne
6f4c3c20c7
2007-02-08 22:06:03 +00:00
zYne
880422ca88
2007-02-08 21:31:20 +00:00
zYne
35a760aadc
2007-02-08 21:29:06 +00:00
zYne
4282758023
fixed Doctrine_Query::count()
2007-02-08 18:26:05 +00:00
zYne
8dc99daa9f
Refactored many classes
2007-02-08 13:56:23 +00:00
joesimms
2662410495
fixed bug to always parse tree options as array
2007-02-08 13:39:27 +00:00
zYne
e49ebe57d8
added Column class
2007-02-08 13:13:27 +00:00
joesimms
02efd7f73b
refactoring for tree implementation
2007-02-08 12:53:32 +00:00
zYne
8eabed57d6
tree handling added
2007-02-07 23:10:41 +00:00
zYne
43369bb48f
2007-02-07 22:54:03 +00:00
runa
2e6e9d6df8
array was not initalized
2007-02-07 16:31:28 +00:00
zYne
dc73de10b3
2007-02-07 16:04:50 +00:00
zYne
ddb45098c0
little fix
2007-02-07 15:13:43 +00:00
zYne
0b8d297cb9
2007-02-07 14:23:30 +00:00
zYne
2b06f512d2
added support for random()
2007-02-07 14:22:45 +00:00
zYne
5e4d1c3fdf
added ORDER BY RANDOM()
2007-02-07 14:16:07 +00:00
fabien
70f72d9d3d
fixed Compiler classes order and removed old classes from compilation list
2007-02-07 13:15:32 +00:00
fabien
f127b3711d
fixed typo
2007-02-07 13:11:05 +00:00
fabien
eeedb43c4c
fixed a typo
2007-02-07 13:09:12 +00:00
zYne
4ff6164651
2007-02-06 20:49:28 +00:00
zYne
66e65570b4
2007-02-06 20:45:51 +00:00
zYne
7823e9e67e
Refactored the eventlistener chain
2007-02-06 19:15:32 +00:00
zYne
c2b37f0e53
2007-02-06 19:07:31 +00:00
zYne
9828081533
Error checking for naming collisions
2007-02-06 19:06:17 +00:00
zYne
d3b6acfff0
2007-02-06 19:05:03 +00:00
pookey
6f4b4e0e01
removing exception when trying to call connection twice
2007-02-05 14:13:13 +00:00
zYne
a7d1bc5633
Cache implementation continues
2007-02-05 12:04:56 +00:00
zYne
10a6a5fc17
2007-02-04 22:37:48 +00:00
zYne
c38137d551
int alias added
2007-02-04 22:34:44 +00:00
zYne
f2e19fd9fa
added 'int' as an alias for 'integer'
2007-02-04 22:31:55 +00:00
zYne
1132282fee
Doctrine_Db_Statement no longer depends on PDOStatement
2007-02-01 22:46:59 +00:00
zYne
d777d36500
2007-02-01 11:39:59 +00:00
zYne
635158e533
2007-02-01 09:58:53 +00:00
zYne
3f9ffc2836
some mocks added for testing purposes
2007-02-01 09:58:15 +00:00
zYne
e2cb1585f6
db eventlisteners updated
2007-02-01 08:57:56 +00:00
zYne
5b594a5468
some methods added
2007-01-31 23:00:43 +00:00
zYne
42c7dd6fa3
2007-01-31 22:51:26 +00:00
zYne
dd76905065
cache array driver added for testing purposes
2007-01-31 22:11:36 +00:00
zYne
3b3b4e4c18
added cache exception class
2007-01-31 21:51:40 +00:00
zYne
80d7327b5b
2007-01-29 21:24:18 +00:00
zYne
4319d095f6
little sequence handling fix
2007-01-29 20:10:51 +00:00
zYne
360c8ea207
2007-01-29 20:02:50 +00:00
zYne
302405de6d
little fix for pgsql sequence handling
2007-01-29 19:58:00 +00:00
pookey
9a45b64391
fixing getEnumValues()
2007-01-29 14:44:27 +00:00
zYne
b7cac8cb4e
added cache core
2007-01-29 13:13:43 +00:00
zYne
278bafbc93
2007-01-28 23:55:30 +00:00
zYne
13783ed267
2007-01-28 22:59:47 +00:00
zYne
80a39d895f
added APC caching driver
2007-01-28 22:54:53 +00:00
zYne
c18c6998eb
2007-01-28 22:49:30 +00:00
zYne
503511e5e3
2007-01-28 22:37:54 +00:00
zYne
03be159c4b
added memcache cache driver
2007-01-28 22:31:18 +00:00
zYne
58de562ac6
added cache interface
2007-01-28 22:16:26 +00:00
chtito
1bdd4ba7ca
allowing to log the parameters of prepared queries
2007-01-27 12:40:51 +00:00
zYne
a39199f29d
DQL ORDER BY now supports ordering by an aggregate value
2007-01-27 10:50:03 +00:00
zYne
84a7fb7973
Fixed DQL subquery handling
2007-01-27 10:28:25 +00:00
zYne
25f1d5e8ff
Fixed DQL many-to-many alias handling
2007-01-27 10:08:06 +00:00
gnat
511a961d53
Fixed variable name typos
2007-01-27 00:07:59 +00:00
gnat
3328d09048
Variable name typo
2007-01-26 19:36:01 +00:00
zYne
e4ad2f70ae
2007-01-25 23:05:26 +00:00
zYne
9d5640040d
2007-01-25 23:03:24 +00:00
zYne
71475eb911
removed futile exception classes
2007-01-25 23:01:06 +00:00
zYne
3114ebd821
Removed futile datadict exception classes
2007-01-25 22:43:04 +00:00
zYne
3e4f3625e5
removed futile exception classes
2007-01-25 22:38:15 +00:00
zYne
9e6ea208f2
updated export drivers + removed unnecessary exceptions
2007-01-25 22:36:43 +00:00
zYne
b6575631b3
added tests for mssql import driver
2007-01-25 22:27:20 +00:00
zYne
cdddf75112
added contains
2007-01-25 21:40:40 +00:00
zYne
fb26e0a19e
constraint exporting added
2007-01-25 11:37:46 +00:00
zYne
c88d183e1f
2007-01-25 11:02:00 +00:00
zYne
b7ab722920
2007-01-24 22:50:49 +00:00
zYne
7e1c763d5a
fixed pgsql import driver
2007-01-24 22:12:34 +00:00
zYne
b6e8c40067
column alias support for DQL HAVING part
2007-01-23 16:40:46 +00:00
zYne
d77ffb28c9
added support for column aliases
2007-01-23 16:27:20 +00:00
zYne
8a1766e964
fixed ATTR_COLL_KEY handling
2007-01-21 22:26:38 +00:00
zYne
ffa7ff54a8
Fixed pgsql and sqlite sequence handlers and test cases
2007-01-21 22:10:45 +00:00
zYne
1eb8b54d81
lots of refactorings
2007-01-21 18:31:51 +00:00
chtito
b4bf33fc8c
right sql date format setting
2007-01-20 11:51:32 +00:00
chtito
d1c45859c6
added a setDateFormat method (primarily intended for the Oracle connection)
2007-01-20 11:44:41 +00:00
romanb
cb924af310
- Added Doctrine_Record::trySave()
...
- Modified the length validation to skip validation for integer fields. The length of integer fields represents the number of bytes and is used for table creation (4 = INT, ect.)
2007-01-19 20:47:24 +00:00
zYne
37a6a6f54d
added doc blocks
2007-01-19 18:26:51 +00:00
zYne
9bf18a36ff
fixed compiler class list
2007-01-19 18:16:18 +00:00
chtito
58f78693a0
added the possibility not to set the new connection as current connection
2007-01-19 17:00:25 +00:00
airox
8ed299a13d
Minimum length for a string validator (usefull for passwords or usernames for example)
2007-01-18 15:37:32 +00:00
zYne
e03bffb3f6
2007-01-17 22:41:55 +00:00
zYne
880ca14f74
added PDO based attributes, fixed DQL aggregate value handling with left joins + added some new tests
...
Ticket: 263
2007-01-17 22:07:09 +00:00
zYne
729bba8755
2007-01-16 19:41:39 +00:00
zYne
9524b03393
2007-01-16 19:34:47 +00:00
zYne
8bb6dbb517
2007-01-16 19:27:33 +00:00
zYne
88bf7c1731
new events onConnect and onPreConnect
2007-01-16 19:16:04 +00:00
zYne
3c0192dbfe
2007-01-16 17:59:35 +00:00
zYne
484fb080cd
little refactorings
2007-01-16 00:12:52 +00:00
zYne
4ff559cec4
Refactored import drivers
2007-01-15 22:44:24 +00:00
zYne
7e8310cebc
refactored oracle import driver
2007-01-15 22:21:27 +00:00
zYne
6f7da981f9
2007-01-15 22:08:31 +00:00
zYne
45fdb318de
fixed little bugs in firebird import driver
2007-01-15 21:54:27 +00:00
zYne
3fc9edf871
Hierarchical data handling implementation moved from draft to main lib
2007-01-15 20:12:22 +00:00
zYne
4106348287
Fixed mysql sequence driver
2007-01-15 19:02:00 +00:00
zYne
c60d50216a
PDO-style data source names supported for Doctrine_Db
2007-01-15 18:54:21 +00:00
zYne
7131ab9e95
2007-01-15 18:48:50 +00:00
zYne
029b5d4043
2007-01-14 23:02:50 +00:00
zYne
b3e59ab76d
Fixed sqlite import driver
2007-01-14 22:44:01 +00:00
zYne
69a2490a63
2007-01-11 23:57:30 +00:00
zYne
6993485425
2007-01-11 23:29:05 +00:00
zYne
82e7d88bea
2007-01-11 23:14:11 +00:00
zYne
6b5aa0c997
2007-01-11 23:13:02 +00:00
zYne
65ebec5aa9
Fixed sqlite connection function binding issue when using Doctrine_Db as well as added proper primary key handling for export methods
2007-01-11 22:39:32 +00:00
zYne
56ff937833
fixed lazy-connecting for transaction methods
2007-01-11 22:38:35 +00:00
zYne
d829e223b2
Removed sequence module methods from main driver classes
2007-01-11 11:57:48 +00:00
zYne
6822752265
Removed transaction driver exceptions (not needed anymore)
2007-01-11 11:51:57 +00:00
zYne
9b20d16a9a
2007-01-11 00:46:08 +00:00
zYne
10f8657ad0
fixed compiler
2007-01-11 00:43:47 +00:00
zYne
2169ac807a
2007-01-11 00:42:24 +00:00
zYne
78b06ef3ae
2007-01-10 20:36:29 +00:00
zYne
0bafdb6694
Minor fixes
2007-01-10 20:34:25 +00:00
zYne
2bdb6860c9
Updated sqlite export driver
2007-01-10 19:05:58 +00:00
zYne
05d969515e
2007-01-09 22:59:15 +00:00
zYne
d14e19a6fb
minor bug fix
2007-01-09 22:58:49 +00:00
zYne
fc4261d1f7
2007-01-08 11:12:53 +00:00
zYne
4928dfef8c
2007-01-08 00:13:41 +00:00
zYne
33706eee6d
Updated sequence drivers
2007-01-07 18:31:17 +00:00
zYne
0a5a3bcdfe
Aggregate relations now treated the same ways as composite relations on save operations
2007-01-07 18:10:51 +00:00
zYne
12e76ba6a6
updated the compiler class list
2007-01-07 18:00:13 +00:00
lsmith
78ce54a7e5
- added colnum parameter to fetchOne and fetchColumn
...
- use fetchColumn() in fetchOne()
- removed PORTABILITY_FIX_CASE handling in fetchColumn() since this can be handled by PDO internally
2007-01-07 14:52:16 +00:00
zYne
6786ce0ced
Added sequence driver exception classes
2007-01-06 10:48:35 +00:00
zYne
24f6b06256
sequence porting continues
2007-01-06 10:47:57 +00:00
zYne
1d14143597
2007-01-05 23:47:54 +00:00
zYne
27e36c2e23
2007-01-05 23:44:10 +00:00
zYne
61967bce15
2007-01-05 23:42:27 +00:00
zYne
3f9565e638
ported interbase sequence functionality, still needs refactoring
2007-01-05 23:39:09 +00:00
zYne
ebfc0788e4
2007-01-05 23:35:46 +00:00
zYne
5ce795be85
2007-01-05 23:27:31 +00:00
zYne
413af9225f
2007-01-05 23:25:25 +00:00
zYne
72bc84f42d
sequence module skeleton added
2007-01-05 23:16:50 +00:00
lsmith
8e667dade3
- s/query/exec
2007-01-05 22:08:25 +00:00
lsmith
3bc748c5f4
- s/\$db/\$this->conn
...
- turned raiseError() calls into throw Exception
- MDB2 style query*() conversion to Doctrine style fetch*()
- removed PEAR::isError() calls
2007-01-05 22:08:05 +00:00
lsmith
cf4c715cd2
- s/\$db/\$this->conn
...
- turned raiseError() calls into throw Exception
2007-01-05 22:07:24 +00:00
lsmith
67514f4c6a
- s/\$db/\$this->conn
...
- turned raiseError() calls into throw Exception
- MDB2 style query*() conversion to Doctrine style fetch*()
2007-01-05 22:06:52 +00:00
lsmith
1a21a43e52
- s/\$db/\$this->conn
...
- turned raiseError() calls into throw Exception
2007-01-05 22:05:55 +00:00
lsmith
260558e032
- make more use of Doctrine internal methods
2007-01-05 22:04:24 +00:00
lsmith
eae259a247
- make more use of Doctrine internal methods
2007-01-05 22:04:11 +00:00
zYne
f56b11afbd
2007-01-05 00:28:36 +00:00
zYne
0aac52ef74
2007-01-04 23:52:18 +00:00
zYne
83d89b766d
TreeStructure bug fixed
2007-01-04 21:08:56 +00:00
zYne
b636861742
Doctrine_Db now supports pending attributes => lazy connecting now possible
2007-01-04 20:37:35 +00:00
zYne
f900a51a7d
Custom join condition support for DQL
2007-01-03 15:34:34 +00:00
zYne
08d638eda3
2007-01-02 19:33:22 +00:00
chtito
1a52fe7263
typo (might fix #236 )
2007-01-02 17:23:20 +00:00
lsmith
dcdc049588
- CS fixes
2007-01-02 15:24:43 +00:00
zYne
8ea6bfc120
2007-01-01 18:37:48 +00:00
zYne
b18b38da25
added custom join condition support for DQL
2007-01-01 18:29:22 +00:00
zYne
a6cf587ce1
2007-01-01 17:47:04 +00:00
zYne
953355c2ba
added import driver exception classes
2006-12-30 11:13:24 +00:00
zYne
d5e5c876d7
added exception classes for transaction module drivers
2006-12-30 11:07:03 +00:00
zYne
b729da7952
Exception classes for the export drivers, also added export reporter class
2006-12-30 11:01:49 +00:00
zYne
5bfd47cd42
import drivers updated
2006-12-30 10:58:58 +00:00
zYne
611c65e759
added null key handling for Doctrine_Collection
2006-12-30 00:50:54 +00:00
zYne
747369185b
2006-12-30 00:30:28 +00:00
zYne
eb1a96b0b6
Changed the PDO::query calls to Doctrine_Connection::execute calls for portable errors
2006-12-30 00:28:24 +00:00
zYne
d9d4e8771b
Fixed many small bugs
2006-12-30 00:25:52 +00:00
romanb
4650a38da2
Fixes #250 .
...
Ticket: 250
2006-12-29 21:52:42 +00:00
lsmith
9d87bb45f4
- remove trailing whitespace
2006-12-29 21:46:14 +00:00
romanb
3214810e8f
Temporary fix for #254 until there's a better solution available.
...
Ticket: 254
2006-12-29 21:34:26 +00:00
lsmith
239995d3c3
- fixed switch statement formating according to ZF CS
2006-12-29 21:30:37 +00:00
zYne
f998aff6f1
added Firebird exception class
2006-12-29 21:08:07 +00:00
lsmith
4e22f1fbaf
- second round of PEAR CS fixes
2006-12-29 14:40:47 +00:00
lsmith
716bb65b86
- first round of PEAR CS fixes
2006-12-29 14:01:31 +00:00
zYne
f6400e0119
2006-12-29 13:55:49 +00:00
zYne
8110cf8e89
Mysql string > 255 now converts to TEXT type
2006-12-29 13:45:41 +00:00
chtito
64923b584a
fixed wrong class constants
2006-12-29 13:09:06 +00:00
zYne
4bff105385
added getParams() method
2006-12-29 11:30:36 +00:00
zYne
7529c4d986
added new import driver functionality
2006-12-29 11:03:19 +00:00
zYne
b40c969f74
Refactored import and pgsql import driver
2006-12-28 21:24:54 +00:00
zYne
491b156022
Refactored pgsql import driver
2006-12-28 21:04:57 +00:00
zYne
dbad26258b
Doctrine_Import driver base methods added
2006-12-28 20:46:48 +00:00
zYne
e4fe182506
Moved schema reading functionality from datadict drivers to import drivers
2006-12-28 12:27:44 +00:00
zYne
480cb5ac68
better expression support
2006-12-28 11:56:24 +00:00
zYne
051f984755
limit offset support for rawsql
2006-12-28 00:55:48 +00:00
zYne
b228cf616d
2006-12-28 00:47:29 +00:00
zYne
26141db6fe
Fixed some minor bugs
2006-12-28 00:33:57 +00:00
zYne
81d3d12563
Added missing exception class
2006-12-28 00:06:59 +00:00
zYne
da0f27d93a
Little fix for expression class
2006-12-28 00:06:38 +00:00
zYne
61c906266b
Modified exception classes, new method for connection exceptions getPortableCode(), refactored some classes
2006-12-27 21:35:32 +00:00
romanb
a622f9ab79
case sensitivity fixed in the compiler.
2006-12-27 12:17:12 +00:00
zYne
f571c61ecf
2006-12-26 20:33:40 +00:00
zYne
4622a71e82
default size for columns
2006-12-23 22:48:16 +00:00
zYne
cf939c6d3a
Doctrine_Hook first draft + test cases
2006-12-23 22:45:36 +00:00
zYne
aa349ecb74
2006-12-22 21:10:14 +00:00
zYne
7b48189ba5
new DQL aggregate value model
2006-12-21 22:06:08 +00:00
zYne
12dc05fac5
autoload bug fixed
2006-12-18 15:08:07 +00:00
zYne
a81e1d766f
added leftJoin and innerJoin methods
2006-12-15 23:07:01 +00:00
zYne
e33bd03aa8
added isNotNull support
2006-12-15 23:03:37 +00:00
zYne
7f8fc2bec1
added new expression handling methods
2006-12-15 23:00:43 +00:00
zYne
99e815860a
First draft for Doctrine_Hook
2006-12-15 20:10:23 +00:00
zYne
fff536ac9a
Added portable error functionality
2006-12-14 22:26:58 +00:00
zYne
7bf4a50743
Removed unnecessary Db drivers
2006-12-14 22:26:39 +00:00
chtito
1d1f0556b2
allowing customisation of the invokers prefixes
2006-12-14 19:01:24 +00:00
zYne
84bbfccbe2
DQL now supports UPDATE queries
2006-12-14 13:26:16 +00:00
zYne
50226697e0
added reserved keyword list
2006-12-14 12:25:34 +00:00
zYne
bde8d33fc3
fixes #251
2006-12-13 21:23:33 +00:00
zYne
5d449f6af4
Added enum support for export
2006-12-10 17:28:20 +00:00
gnat
4b6008b17d
added Mock DB Driver to allow Table property inspection without a real connection to a database
2006-12-08 15:43:36 +00:00
zYne
9bed1ba118
2006-12-07 23:26:38 +00:00
chtito
7a35e676a9
implements setCharset for mysql, no exception if setCharset is not implemented ( fixes #244 )
2006-12-06 06:58:24 +00:00
chtito
a65e106ecc
fixed typo
2006-12-06 06:44:29 +00:00
zYne
2d29792301
Doctrine now works seamlessly in multi-connection environment where connections are bound to classes
2006-12-05 21:46:38 +00:00
zYne
9aeeffe24e
component connection management
2006-12-05 18:38:04 +00:00
zYne
dd79e12a28
removed datasource handling as lazy connecting is now being done by Doctrine_Db automatically
2006-12-05 18:24:22 +00:00
zYne
3596642de4
E_STRICT fix
2006-12-04 23:01:35 +00:00
zYne
20d91125a3
E_STRICT fix
2006-12-04 22:59:19 +00:00
zYne
d8c48da227
added quote identifier support for limit subquery algorithm
2006-12-03 20:13:28 +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
cb20dfafc7
updated datadict drivers
2006-12-02 22:44:53 +00:00
zYne
edddb0c86a
2006-12-02 20:46:05 +00:00
zYne
97604279bf
Removed adodb-hack, replaced by new export/datadict drivers
2006-12-02 14:52:27 +00:00
zYne
8779a38332
Constructor template method added
2006-12-02 14:48:02 +00:00
zYne
fcce6bd239
Updated transaction drivers, ORM core now uses the new Export API
2006-12-02 14:40:47 +00:00
pookey
33fbb4f353
previous fix resulted in php segfaulting
2006-12-02 08:57:45 +00:00
pookey
9f00ce65f0
refs #239 - probably fixes, zYne- please check... tests are currently broken
2006-12-02 08:01:01 +00:00
pookey
6f6ce2424e
refs #174 - probably fixes, zYne- please check... tests are currently broken
2006-12-02 07:55:15 +00:00
zYne
cab5b432a6
Updated transaction drivers
2006-11-30 23:51:44 +00:00
zYne
ddc9c3262c
2006-11-30 22:52:29 +00:00
zYne
ba893f6ec6
added REPLACE support, fixes #238
2006-11-30 22:47:15 +00:00
zYne
7556bfcb71
Fixed DELETE handling, fixes #236
2006-11-30 22:40:59 +00:00
zYne
57fee96923
Small fixes
2006-11-30 22:33:54 +00:00
zYne
4a1bff1428
2006-11-30 14:40:50 +00:00
zYne
ece1833941
fixed references
2006-11-29 22:12:43 +00:00
zYne
6480503bce
2006-11-29 21:18:38 +00:00
zYne
78b849e776
Removed old transaction
2006-11-29 21:16:47 +00:00
zYne
fe88258168
Updated classes to use new Transaction module
2006-11-29 21:09:02 +00:00
zYne
c502c512aa
Fixed some small bugs
2006-11-28 23:45:57 +00:00
zYne
2241453570
Lots of small fixes, driver improvments and more tests
2006-11-28 23:26:44 +00:00
zYne
9df8e4d0e3
small fixes for datadict drivers
2006-11-28 18:39:57 +00:00
zYne
570bc068d2
removed options references
2006-11-28 18:23:35 +00:00
romanb
b68d060ef5
fix for php 5.2 compatibility
2006-11-28 18:20:38 +00:00
zYne
94277fcf54
Removed options references (not supported yet)
2006-11-28 18:01:32 +00:00
zYne
c6f5546fdd
updated oracle driver
2006-11-27 22:48:49 +00:00
zYne
161b9125e1
added missing class Doctrine_Hydrate_Alias, refactored query and hydrate classes
2006-11-27 22:39:18 +00:00
zYne
be7931ed3a
Added Doctrine_Hydrate_Alias for more flexible alias handling, small fixes for many classes
2006-11-27 22:22:31 +00:00
zYne
83d68f5d43
commented out some options ported from MDB2: support not ready yet
2006-11-27 22:05:18 +00:00
zYne
417924294b
Updated datadict drivers
2006-11-26 19:48:55 +00:00
zYne
eb6dde75e6
Doctrine_DataDict_Mssql_Exception now has Doctrine_DataDict_Exception as parent
2006-11-26 19:47:19 +00:00
zYne
9ac54863c6
replaced pear error with exception
2006-11-25 11:01:11 +00:00
zYne
f02ad22cc4
updated firebird and mysql drivers
2006-11-25 10:59:33 +00:00
zYne
85559a7f35
Updated pgsql expression and datadict drivers
2006-11-25 10:47:17 +00:00
zYne
de94e46471
fixed some bugs in mysql export driver
2006-11-24 23:22:56 +00:00
zYne
5b7089cb86
added implementation for getSequenceName and getIndexName
2006-11-24 20:51:40 +00:00
zYne
b1d5eedb47
Updated test cases
2006-11-23 23:23:24 +00:00
zYne
70e467b7bf
Added Doctrine_Adapter, updated many driver classes
2006-11-23 22:54:10 +00:00
zYne
98c1f66b64
small fixes for transaction drivers
2006-11-23 15:30:22 +00:00
zYne
9200d1271a
small refactorings
2006-11-22 18:15:21 +00:00
zYne
c134ad16cb
Added support for new attributes
2006-11-21 23:35:08 +00:00
zYne
5f1a4074a0
2006-11-20 20:28:59 +00:00
zYne
fb8498e0bd
Quick fix for bug found with many-to-many relation fetching and limit
2006-11-20 20:22:53 +00:00
zYne
8ca0e1a52f
Added db2 connection driver
2006-11-20 10:19:31 +00:00
pookey
48b8791e17
fixing Strict standards: Declaration of Doctrine_Connection_Mysql::replace() should be compatible with that of Doctrine_Connection::replace()
2006-11-20 01:46:12 +00:00
zYne
7a5cda86c2
added getServerVersion to pgsql driver
2006-11-19 22:20:46 +00:00
zYne
231be6550b
2006-11-19 22:16:12 +00:00
zYne
5a5934db0b
added replace(), currId and nextId() methods
2006-11-19 22:15:23 +00:00
zYne
eedfb40e76
Module constructor no longed needs Connection object
2006-11-19 14:35:19 +00:00
zYne
281b30fb1f
fixes #233
2006-11-19 14:30:44 +00:00
zYne
c9d6c63f81
added Firebird datadict driver, updated firebird expression driver
2006-11-19 12:06:42 +00:00
zYne
7c38b01295
added Mssql export driver
2006-11-17 15:02:23 +00:00
zYne
61c793c2cf
Refactored export drivers
2006-11-17 14:59:57 +00:00
zYne
c1c66b6b3f
Started porting the interbase manager methods from MDB2 to firebird export driver
2006-11-16 22:44:14 +00:00
zYne
4d02a63e64
added firebird export driver
2006-11-16 22:30:15 +00:00
pookey
b3915b8ad0
fixing typo
2006-11-16 21:54:53 +00:00
zYne
2c3b8bab19
Fixed limit subquery handling on mysql with prepared statements, fixes #231
2006-11-16 21:38:59 +00:00
zYne
6daa1e3443
fixed references to deprecated getTransaction() and getUnitOfWork() methods
2006-11-16 20:31:39 +00:00
zYne
4f361df6c3
updated doc block
2006-11-16 18:45:51 +00:00
zYne
69a97d13be
Updated some doc blocks
2006-11-16 13:25:45 +00:00
zYne
caf4185955
Refactored Doctrine_Connection
2006-11-16 13:19:45 +00:00
zYne
d6d7824135
Refactored connection modules, added new methods to Doctrine_Connection
2006-11-16 12:46:23 +00:00
zYne
02cc9b2f6c
Removed cache constants, added portability constants
2006-11-16 12:45:34 +00:00
zYne
7cbef3b4fe
added Doctrine_Connection_Module
2006-11-15 20:36:58 +00:00
zYne
f8b966366a
Ported index/sequence name fixing and common manager functionality from MDB2
2006-11-15 15:19:55 +00:00
zYne
311131b548
Added Oracle export driver (still needs a lot of refactoring)
2006-11-15 14:54:28 +00:00
zYne
be0d79c48f
Updated transaction drivers
2006-11-14 21:57:11 +00:00
zYne
2459f8f593
Informix datadict driver: added some sql clauses for future use
2006-11-14 21:47:08 +00:00
zYne
8b5cf30ef8
Updated Pgsql datadict driver, moved transaction isolation functionality to Doctrine_Transaction
2006-11-14 18:21:36 +00:00
zYne
256fbd5331
Moved transaction isolation functionality to transaction drivers
2006-11-13 22:08:41 +00:00
zYne
a452ccb620
added transaction exception class
2006-11-13 20:40:20 +00:00
zYne
61c59aa0e0
Doctrine_Transaction drivers
2006-11-13 20:31:38 +00:00
zYne
9f54ba0398
First draft for the new Transaction component
2006-11-13 20:09:14 +00:00
zYne
9b46ca5472
Enhance Doctrine_Db doc blocks
2006-11-13 18:16:10 +00:00
zYne
22d91d9dee
Moved connection exception driver functionality to Doctrine_Db_Exception drivers
2006-11-13 18:15:14 +00:00
zYne
0999dd6532
added Doctrine_Db_Exception drivers
2006-11-13 18:14:20 +00:00
zYne
3ee90a511e
Portable error code updates
2006-11-13 17:45:45 +00:00
zYne
b83d0ab399
Firebird driver: handling of portable error codes
2006-11-13 12:54:12 +00:00
zYne
4a4341e70d
added reserved keyword array to pgsql datadict
2006-11-13 12:31:50 +00:00
Tanken
f94d3e4703
Fixed OFFSET clause generation of Pgsql driver, which added the OFFSET keyword without a value to the SQL query in case of OFFSET 0. fixes #230
2006-11-13 08:01:56 +00:00
Tanken
219a2c2064
Fixed OFFSET 0 which was interpreted as null and then ignored in SQL-query, causing a SQL-exception
2006-11-13 07:33:51 +00:00
zYne
f3d21a7563
added class doc block for Doctrine_View_Exception
2006-11-12 23:06:41 +00:00
zYne
a208dd3250
Added class doc blocks for validator classes
2006-11-12 23:04:58 +00:00
zYne
a6bdf19cb9
fixes #229
2006-11-12 22:57:18 +00:00
zYne
085dc9d601
Enhanced class doc blocks, fixes #228
2006-11-12 12:14:08 +00:00
romanb
799102b280
Enhancements and refactorings for the offline locking manager.
...
Ticket: 225,226
2006-11-11 20:28:54 +00:00
zYne
7aaf8c49dd
Removed old Doctrine_Db_Statement, new one is in lib/Doctrine/Db
2006-11-11 20:02:04 +00:00
zYne
cbc157fbae
replaced the old Doctrine_Db with new one
2006-11-11 20:00:30 +00:00
zYne
cd80b593f8
Small fixes
2006-11-11 19:51:51 +00:00
zYne
de07b6a345
Dependency and strict standard fixes
2006-11-11 19:24:55 +00:00
zYne
30a2b0ea74
Removed reference to deprecated constant
2006-11-11 19:14:02 +00:00
zYne
13fd0949d7
Doctrine_Db updates
2006-11-10 23:35:02 +00:00
zYne
4a32d6a98f
Association classes are located in Relation dir
2006-11-10 23:32:57 +00:00
zYne
eef1bd4882
Portable error code updates
2006-11-10 22:40:18 +00:00
zYne
90e2887428
added portable error codes to oracle driver
2006-11-10 22:37:34 +00:00
zYne
de446d2e73
added portable error codes to mysql driver exception
2006-11-10 22:34:16 +00:00
zYne
38a181690b
Doctrine_Connection_Sqlite_Exception : added portable error codes
2006-11-10 22:29:20 +00:00
pookey
d8f35ee0b4
fixes #227
2006-11-10 18:24:57 +00:00
pookey
f84fce2e5e
param order wrong on array_search in D_Table::getAliasName()
2006-11-10 18:24:34 +00:00
zYne
34ecd30498
Doctrine_Query::where() now accepts prepared statement parameters
2006-11-08 19:12:16 +00:00
zYne
188520e946
Added missing runtime classes to compiler runtime classes list
2006-11-08 12:23:18 +00:00
zYne
0cdd144bd5
Added portable error code constants to Doctrine_Db, errorCodeMaps to sqlite and mysql drivers
2006-11-08 12:11:55 +00:00
zYne
a0aa16bbea
Doctrine_Db updates
2006-11-08 10:18:15 +00:00
zYne
fef149dd62
Doctrine_Db_* updates
2006-11-07 23:12:05 +00:00
chtito
21cde0e7b9
new fix to #146
2006-11-06 18:34:10 +00:00
zYne
29ce606beb
added createQuery
2006-11-06 18:25:39 +00:00
pookey
b0129fb2c3
moving the DB directory to Db
2006-11-06 18:03:49 +00:00
pookey
e640e78aa8
missed some from previous commit
2006-11-06 18:02:42 +00:00
pookey
60985b5697
renaming all DB references to Db
2006-11-06 18:00:35 +00:00
pookey
4e0476f20d
intermediate commit - see my next commit message
2006-11-06 17:56:41 +00:00
pookey
1d5bdee6c9
rolling back r587, reopening #146 - this breaks creating new objects.
2006-11-06 14:28:09 +00:00
chtito
d466830722
fixes for #218 and #219
2006-11-06 07:10:06 +00:00
chtito
1727a3e9c1
fix for #207
2006-11-06 07:08:33 +00:00
chtito
63d84e18e9
fix for #146
2006-11-06 07:06:10 +00:00
pookey
db4634557f
fixing typo
2006-11-05 20:23:54 +00:00
zYne
319b645daa
Fixes #221
2006-11-05 20:17:07 +00:00
zYne
bd776a680a
DQL: support for DISTINCT keyword in aggregate functions, fixes #220
2006-11-05 20:08:34 +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
runa
185c334710
support for FKs, indented with spaces
2006-11-03 20:18:59 +00:00
runa
33b23eda3b
Added setRelation and getRelations
2006-11-03 20:18:12 +00:00
runa
870ce44263
Relation is the relation between 1 column in the local table and 1 column in a second table
2006-11-03 20:17:16 +00:00
runa
36e69bebc5
added listTableConstraints
2006-11-03 20:16:19 +00:00
zYne
2021baf2fd
2006-11-02 21:51:43 +00:00
zYne
9e35702c4d
Sqlite driver: added support for md5, mod and concat
2006-11-02 13:34:33 +00:00
zYne
b75ef330d4
Fixed pgsql limit subquery algorithm
2006-11-01 17:08:35 +00:00
zYne
6b4e032857
Added Doctrine_Connection::queryOne()
2006-11-01 15:07:04 +00:00
Tanken
ad595dd839
fixed declaration of Doctrine_Connection_Pgsql::modifyLimitQuery and Doctrine_Connection_Common::modifyLimitQuery to be the same
2006-11-01 14:00:08 +00:00
zYne
65d4158c71
Removed getState() and concat() methods from mysql driver, getState() is not needed (it resides at transaction class) and concat is located at mysql expression driver
2006-11-01 11:25:53 +00:00
zYne
051077c6d7
Sqlite driver updated
2006-11-01 11:08:15 +00:00
zYne
dcc59843a0
Firebird, mssql, mysql, oracle and pgsql connection drivers updated
2006-11-01 10:59:23 +00:00
zYne
87f9122f7d
Updated pgsql connection driver
2006-11-01 10:31:49 +00:00
zYne
1df7817b37
Added supported array to pgsql driver
2006-11-01 10:12:34 +00:00
zYne
466b0be17d
Updated informix, mssql and pgsql connection drivers
2006-11-01 10:05:26 +00:00
zYne
c1f8dddb3a
Fixes #214 , added exception classes for all drivers
2006-11-01 10:04:04 +00:00
zYne
3248d5e410
Firebird connection driver updated
2006-11-01 09:51:12 +00:00
runa
b219cf4c95
create a db schema for the current connection
2006-10-31 18:50:45 +00:00
runa
f4df5424f4
listTables and listDatabases should return a 1 dimension array
2006-10-31 18:48:13 +00:00
runa
3f407e5d57
adds build function to export all databases in the passed $schema
2006-10-31 18:37:04 +00:00
runa
286dfdebad
added bogus getState function (needed to print $conn)
2006-10-31 18:32:25 +00:00
runa
0fb5f14717
added addTable and getTables methods
2006-10-31 18:30:17 +00:00
runa
a94c714af1
added getDatabases and addDatabase methods
2006-10-31 18:29:48 +00:00
runa
52aa5845b6
set primary, autoincrement and unique attributes
2006-10-31 18:27:16 +00:00
runa
0148078757
detect autoincrement columns
2006-10-31 18:24:14 +00:00
zYne
2704af6435
Little fix
2006-10-31 18:05:15 +00:00
romanb
4433e6ff40
Introduced constants: Doctrine::ATTR_AUTO_LENGTH_VLD and Doctrine::ATTR_AUTO_TYPE_VLD.
...
Both default to TRUE. If set to false, you need to explicitly specify "length" and/or "type" in the parameter of hasColumn that specifies the validators for that column.
2006-10-31 18:03:48 +00:00
zYne
05cf2cd1b6
Sqlite connection driver updated
2006-10-31 12:54:58 +00:00
zYne
c6bd1147fe
Refactored Doctrine_Connection
2006-10-31 10:42:46 +00:00
zYne
c5f7572cf2
REPLACE emulation added, fixes #213
2006-10-31 10:16:36 +00:00
zYne
893b9b0b23
Updated oracle and mysql connection drivers
2006-10-31 09:14:54 +00:00
zYne
53e9b06f6c
Moved connection driver functionality to expression drivers
2006-10-30 23:27:26 +00:00
zYne
7ef869ee40
Refactored Doctrine_Connection and Doctrine_Record, fixes #212
2006-10-30 23:00:09 +00:00
runa
d8dddffcfd
new datadict objects need the PDO object, not Doctrine_Connection
2006-10-30 20:55:25 +00:00
runa
8f69e2d3ea
Sometimes mysql return keys with first letter in uppercase
2006-10-30 20:53:25 +00:00
zYne
7e8f168dfd
Added Doctrine_DB driver skeletons, fixes #210
2006-10-30 12:11:33 +00:00
zYne
048d7788ce
Many-to-Many relation handling fixed, fixes #193
2006-10-29 23:24:50 +00:00
zYne
7e4e5924a4
Fixes #209
2006-10-29 21:57:47 +00:00
zYne
5b73304d93
Informix datadict and expression driver skeletons
2006-10-27 15:07:22 +00:00
zYne
d0c0592e85
Little fix for preserving fields on pgsql when limit subquery with orderby is used
2006-10-26 23:20:01 +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
b014566eb8
Refactored DQL classes
2006-10-26 21:32:52 +00:00
zYne
4cd29eaf2c
DQL enum handling fixed, fixes #202
2006-10-26 20:53:59 +00:00
zYne
79034ea74d
Added Mysql, Mssql and Firebird expression drivers, fixes #199 , #200 , #201
...
Ticket: 199
2006-10-26 15:32:09 +00:00
zYne
0d75147c70
Doctrine_Expression classes added, fixes #195 , #196 , #197 , #198
...
Ticket: 195
2006-10-26 11:24:35 +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
pookey
e06f0be65d
pookey: sorry, I do not understand this fix, but i needed it
2006-10-25 05:46:06 +00:00
zYne
cac04a0ac0
Fixes #190
2006-10-24 17:24:58 +00:00
zYne
76b3f2c999
Refactored Doctrine_Table
2006-10-24 17:02:47 +00:00
zYne
5ed9eeffd7
Import builder now supports default values and notnull constraints, added missing test case (Doctrine_Query_Update_TestCase), fixes #189
...
Ticket: 189
2006-10-24 08:56:47 +00:00
zYne
daaab94cfe
Developed Doctrine_Import, changed Doctrine_Schema objects to have unified constructor
2006-10-23 19:55:30 +00:00
zYne
0c0e6fd637
added Doctrine_Record::state()
2006-10-23 17:34:36 +00:00
zYne
7e7a0b879c
Fixes #185
2006-10-23 16:19:47 +00:00
zYne
02bddbcf52
Support for transaction isolation levels, fixes #186
2006-10-22 20:50:27 +00:00
zYne
dd4aff4a3b
SQL function abstraction started on some drivers, developed mssql and oracle datadict drivers
2006-10-20 21:54:16 +00:00
zYne
cfac6410f1
Added new datadict drivers + datadict exception classes
2006-10-20 21:46:09 +00:00
zYne
240d51e929
Added sqlite export driver
2006-10-20 21:31:00 +00:00
zYne
d18688e4f0
Added pgsql export driver and updated pgsql datadict driver
2006-10-20 21:11:50 +00:00
zYne
599dc759fb
Fixes #180
2006-10-20 18:21:42 +00:00
zYne
20f504253b
added Mysql export driver + updated some datadict drivers
2006-10-19 20:56:59 +00:00
zYne
8b87b3eacd
Nesting level too deep bug fixed
2006-10-18 20:24:45 +00:00
zYne
ec8f446fad
Fixes #175
2006-10-18 20:17:49 +00:00
zYne
c1280d31dc
Refs #175 , Removed $collections instance variable from Doctrine_Record
2006-10-18 19:55:14 +00:00
zYne
1c8cf0271e
DQL: DELETE support added
2006-10-18 17:37:20 +00:00
zYne
cce886dadd
Fixes #174
2006-10-17 21:18:57 +00:00
zYne
5cbc3fc817
2006-10-17 17:23:59 +00:00
zYne
bfcfa9f2f2
Aggregate function support added
2006-10-17 17:21:21 +00:00
pookey
83af818915
fixing #172 - copying a record now will set non-null fields to modified so that when it's saved it inserts correctly
2006-10-16 21:08:14 +00:00
Tanken
e32e960b1d
Fixed windows formatting
2006-10-16 10:38:41 +00:00
Tanken
075a58089a
Fixed a missing space in the query build by count()
...
Fixed count()'s code formatting (was tabs in some lines)
fixes #171
Ticket: 171
2006-10-16 10:04:38 +00:00
pookey
a2299b2a25
refs #170 , this adds != support for boolean
2006-10-15 23:09:33 +00:00
pookey
a04f118593
closes #168
2006-10-15 19:19:20 +00:00
zYne
da6f4a3849
Fixes #166
2006-10-14 16:58:59 +00:00
romanb
2e8f73dba1
Removed some remainders from the old validation behaviour. This fixes a bug where records dont get inserted.
2006-10-13 17:29:22 +00:00
zYne
3e6a352a57
Fixes #164
2006-10-12 21:07:15 +00:00
zYne
db433c8449
Fixes #163 , #162 , removed Doctrine_Record::__call()
2006-10-12 21:01:53 +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
romanb
db25f46e52
Finished the validation changes.
...
Ticket: 150
2006-10-11 16:24:18 +00:00
zYne
5957622575
Fixes #157
...
Ticket: 157
2006-10-10 18:09:20 +00:00
romanb
171226d532
Continued work on the validation component.
...
Ticket: 150
2006-10-10 16:15:43 +00:00
zYne
d81a4245b7
Fixed typo
2006-10-10 09:32:32 +00:00
romanb
b0f0537071
Necessary changes to the validation components. Further improvements and docs will follow in the next days.
...
Ticket: 150
2006-10-09 18:00:14 +00:00
zYne
499da8f9b8
Fixes #156
...
Ticket: 156
2006-10-09 16:32:37 +00:00
zYne
cba61cb346
Fixes #155
2006-10-08 19:10:21 +00:00
zYne
966450d454
Fixes #154 , has* relations should act as owns* when saving related objects
2006-10-08 18:43:13 +00:00
zYne
11206fe573
Small fixes, now it should be possible to add custom errors
2006-10-08 18:20:10 +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
6210a60611
Fixed a bug when saving a record with null valued boolean column
2006-10-02 20:51:36 +00:00
romanb
ba73772983
Fixes to the compiler.
2006-10-02 10:47:43 +00:00
pookey
aa25b57eda
pookey: fixes #83
2006-10-02 01:30:08 +00:00
pookey
04a3cb9f63
pookey: fixed email validator and added more test cases
2006-10-02 01:23:23 +00:00
zYne
8abb979578
Fixes #85
2006-10-01 16:14:26 +00:00
zYne
a1b4b0f73f
Simplified object population
2006-10-01 15:27:20 +00:00
zYne
5de6c0a65b
Simplified object population mechanism
2006-10-01 15:18:04 +00:00
zYne
ca213ac6b9
Refactored Doctrine_Hydrate
2006-10-01 14:57:27 +00:00
zYne
cded682ee4
fixed validators with default values
2006-10-01 14:48:53 +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
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
b55ae1fd5e
2006-09-30 10:24:28 +00:00
zYne
bd90246432
2006-09-30 10:04:17 +00:00
zYne
efc6d71d33
Moved collection iterator classes under Collection_ namespace
2006-09-30 10:04:01 +00:00
zYne
8e9a8af676
Added new exception classes, renamed Doctrine_Repository to Doctrine_Table_Repository, refactored many classes
2006-09-30 09:54:12 +00:00
zYne
e188f37e79
Export skeleton added
2006-09-29 12:04:46 +00:00
zYne
14b95350d0
Fixes #132 , refactored some test cases
...
Ticket: 132
2006-09-28 21:21:33 +00:00
zYne
d5b1c35074
2006-09-28 21:05:21 +00:00
zYne
1d65d8d3f0
2006-09-28 21:03:49 +00:00
zYne
86bf9a8201
deleted old relation classes
2006-09-28 20:58:56 +00:00
zYne
ed62d636e6
Moved relation classes under Doctrine_Relation namespace, fixes #134
...
Ticket: 134
2006-09-28 20:57:39 +00:00
zYne
c8c1397f8a
fixes #133
...
Ticket: 133
2006-09-28 20:03:29 +00:00
zYne
1ab5a4fcea
Refactored Doctrine_Record, added license to LocalKey class
2006-09-28 15:05:29 +00:00
zYne
88ef777fbd
Refactored Doctrine_Record, added Doctrine_Relation::isOneToOne
2006-09-28 14:49:20 +00:00
zYne
25956bea87
Refactored the object population algorithm
2006-09-28 13:39:37 +00:00
zYne
753e9bd4cc
Fixes #131
...
Ticket: 131
2006-09-27 21:54:00 +00:00
zYne
ddf0ceab82
Doctrine_Collection::internalAdd() removed, fixes #129
...
Ticket: 129
2006-09-27 21:41:20 +00:00
zYne
1a0179bdce
Fixes #128
...
Ticket: 128
2006-09-27 21:34:32 +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
zYne
437fac4c9e
added getDataDict() for connection class
2006-09-26 17:20:22 +00:00
zYne
ecd2612e7f
Sqlite datadict updated
2006-09-26 17:17:58 +00:00
pookey
6094eeb536
moving php source files to lib directroy
2006-09-26 15:00:13 +00:00