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

485 Commits

Author SHA1 Message Date
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
zYne
3bcda166d2 nested set configuration constants 2007-01-18 22:35:07 +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
chtito
e89bfc8d40 fix for the accessor configuration constants 2006-12-13 21:00:26 +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