1
0
mirror of synced 2024-12-15 15:46:02 +03:00
Commit Graph

143 Commits

Author SHA1 Message Date
zYne
9e35c9029b 2007-04-17 17:41:51 +00:00
zYne
47daaa9cfa Algorithm for creating the tables in correct order 2007-04-03 17:36:46 +00:00
gnat
1fbb8b6c08 unitialized or typo variables 2007-03-20 23:22: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
subzero2000
9143270e06 fixes #281 2007-03-07 23:08:17 +00:00
gyim
84acea5d9a fixed saving records using multiple connections 2007-03-02 09:23:24 +00:00
zYne
a2046460b5 Relation model rewrite, draft 2 2007-02-17 12:38:02 +00:00
zYne
180d435e3d Relation model rewrite, first draft 2007-02-16 22:54:59 +00:00
zYne
3c699f66a9 2007-02-08 22:07:11 +00:00
zYne
8dc99daa9f Refactored many classes 2007-02-08 13:56:23 +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
zYne
278bafbc93 2007-01-28 23:55:30 +00:00
gnat
3328d09048 Variable name typo 2007-01-26 19:36:01 +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
zYne
7131ab9e95 2007-01-15 18:48:50 +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
d829e223b2 Removed sequence module methods from main driver classes 2007-01-11 11:57:48 +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
lsmith
eae259a247 - make more use of Doctrine internal methods 2007-01-05 22:04:11 +00:00
lsmith
239995d3c3 - fixed switch statement formating according to ZF CS 2006-12-29 21:30:37 +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
b228cf616d 2006-12-28 00:47:29 +00:00
zYne
26141db6fe Fixed some minor bugs 2006-12-28 00:33:57 +00:00
zYne
61c906266b Modified exception classes, new method for connection exceptions getPortableCode(), refactored some classes 2006-12-27 21:35:32 +00:00
zYne
7b48189ba5 new DQL aggregate value model 2006-12-21 22:06:08 +00:00
zYne
fff536ac9a Added portable error functionality 2006-12-14 22:26:58 +00:00
zYne
84bbfccbe2 DQL now supports UPDATE queries 2006-12-14 13:26:16 +00:00
zYne
bde8d33fc3 fixes #251 2006-12-13 21:23:33 +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
chtito
7a35e676a9 implements setCharset for mysql, no exception if setCharset is not implemented (fixes #244) 2006-12-06 06:58:24 +00:00
zYne
fcce6bd239 Updated transaction drivers, ORM core now uses the new Export API 2006-12-02 14:40:47 +00:00
zYne
4a1bff1428 2006-11-30 14:40:50 +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
2241453570 Lots of small fixes, driver improvments and more tests 2006-11-28 23:26:44 +00:00
zYne
570bc068d2 removed options references 2006-11-28 18:23:35 +00:00
zYne
94277fcf54 Removed options references (not supported yet) 2006-11-28 18:01:32 +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
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
d6d7824135 Refactored connection modules, added new methods to Doctrine_Connection 2006-11-16 12:46:23 +00:00
zYne
7cbef3b4fe added Doctrine_Connection_Module 2006-11-15 20:36:58 +00:00
zYne
256fbd5331 Moved transaction isolation functionality to transaction drivers 2006-11-13 22:08:41 +00:00
zYne
22d91d9dee Moved connection exception driver functionality to Doctrine_Db_Exception drivers 2006-11-13 18:15:14 +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
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
zYne
085dc9d601 Enhanced class doc blocks, fixes #228 2006-11-12 12:14:08 +00:00
zYne
de07b6a345 Dependency and strict standard fixes 2006-11-11 19:24:55 +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
zYne
a0aa16bbea Doctrine_Db updates 2006-11-08 10:18:15 +00:00
zYne
9e35702c4d Sqlite driver: added support for md5, mod and concat 2006-11-02 13:34:33 +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
286dfdebad added bogus getState function (needed to print $conn) 2006-10-31 18:32:25 +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
zYne
7e4e5924a4 Fixes #209 2006-10-29 21:57:47 +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
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
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
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
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
ed62d636e6 Moved relation classes under Doctrine_Relation namespace, fixes #134
Ticket: 134
2006-09-28 20:57:39 +00:00
pookey
6094eeb536 moving php source files to lib directroy 2006-09-26 15:00:13 +00:00