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