1
0
mirror of synced 2024-12-13 22:56:04 +03:00
Commit Graph

127 Commits

Author SHA1 Message Date
romanb
7bbdac1c88 [2.0][DDC-61][DDC-108] Fixed. Started exception refactoring. 2009-11-03 18:30:21 +00:00
beberlei
a7847952a1 [2.0] Fixed DDC-63 and DDC-106. Oracle tests for SchemaManager need further tweeking, marked as skipped for now. 2009-11-03 16:56:05 +00:00
beberlei
cfea7883e0 [2.0] DDC-91 - Enhanced SchemaManager::listTableIndexes() considerably. Add primary keys to the index list, add a bool flag primary to each index, add an array of columns to each index. Moved a test to SchemaFunctionalTestCase to check that every database (Mysql, Pgsql, Sqlite, Oracle) returns exactly the same data from this function. 2009-11-03 08:58:03 +00:00
beberlei
d8bf040165 [2.0] DDC-105 - Fix for use of quote() in getSetCharsetSql(). 2009-11-02 23:13:46 +00:00
beberlei
d369d27f8b [2.0] DDC-84 - Added increment alter table / update schema tests for Postgres Platform - Fixed several bugs in Doctrine\DBAL\Platforms\PostgreSqlPlatform 2009-11-02 16:07:31 +00:00
beberlei
6a26de11ff [2.0] Fixed DDC-103 - Add missing changed file. 2009-11-02 15:10:26 +00:00
beberlei
79f4fcb3c4 [2.0] Fixed DDC-103 - Platform::getAlterTableSql() should return an array on all platforms, added doc-blocks on all methods and fixed some. 2009-11-02 15:08:51 +00:00
beberlei
a680970347 [2.0] DDC-87 - Fix MysqlSchemaManager missing support for Mysql Decimal type 2009-10-31 20:50:31 +00:00
romanb
4fc1781d78 [2.0][DDC-22] Fixed. Also cleaned up association handling. More to come: exception refactorings, proxy simplifications (single proxy class, not two). 2009-10-28 10:31:47 +00:00
romanb
a4913774c8 [2.0] Added ConnectionTest. Fixed sandbox. 2009-10-23 21:47:25 +00:00
romanb
4328a4e9e3 [2.0] Small refactorings on the cache drivers. Introduced flag to control whether the cache driver should manage the cache keys since this is an advanced feature that is not always needed and can have negative side-effects (higher probability for cache slams). 2009-10-23 15:03:00 +00:00
guilhermeblanco
7ae913a5b5 [2.0] Fix for test suite. It was trying to recreate association tables and they're not getting deleted. SchemaTool was trying to recreate them during some executions. 2009-10-19 23:23:54 +00:00
romanb
cb1c7bce48 [2.0] DBAL cleanups (DDC-46). Proxy class improvements (DDC-19, DDC-39). Started new UPGRADE_TO document for upgrade instructions between advancing Doctrine 2 versions. 2009-10-14 20:18:36 +00:00
romanb
b9f744893e [2.0][DDC-42] Fixed. 2009-10-13 10:48:46 +00:00
jwage
f3f522b7f3 [2.0][DDC-43] Fixing order of limit and offset 2009-10-12 19:10:41 +00:00
jwage
165abc3ca4 [2.0] Work on mapping drivers, exporter drivers and reverse engineering of database schemas 2009-10-07 04:07:23 +00:00
jwage
c8362da494 [2.0] Added functionality to convert a Doctrine 1 schema to Doctrine 2 to help users with upgrading. Lots of other small bug fixes and changes. 2009-10-06 22:38:34 +00:00
guilhermeblanco
679191a426 [2.0][DDC-30] Fixed null values with Date, Time and DateTime types. Thanks Ismo for report and patch 2009-10-03 16:05:49 +00:00
romanb
435acc9188 [2.0][DDC-24] Fixed (together with some small misc. refactorings). 2009-10-01 12:00:14 +00:00
guilhermeblanco
7ef91a6449 [2.0] Some work over SchemaTool update of schema (affects directly the CLI schema-tool task on --update option. 2009-09-12 23:25:47 +00:00
jwage
7aabee5efc [2.0] Fixing empty insert sql statements (closes #2481) 2009-09-08 19:31:26 +00:00
jwage
adbfbf5417 [2.0] Fixes issue with optimistic timestamp locking (closes #2451) 2009-09-08 17:09:32 +00:00
guilhermeblanco
029b9aeb5d [2.0] Added missing connect() call in Connection:quote, which was throwing E_FATAL when using DQL. Thanks Damon Jones for the report 2009-09-05 18:27:37 +00:00
guilhermeblanco
3ef0bf50e9 [2.0] Other fixes, removed E_FATAL of duplicate declaration and added test for Boolean type 2009-09-05 02:44:45 +00:00
guilhermeblanco
4d4374395b [2.0] Added boolean type support 2009-09-05 02:23:24 +00:00
guilhermeblanco
60b31c7ae0 [2.0] Implemented CLI Task Version. Added support to DECIMAL datatype. 2009-09-04 19:08:32 +00:00
romanb
733c3c24f7 [2.0] Various necessary fixes and adjustments for oracle as well as fixes for better handling of temporal types. Closed #2452. 2009-08-28 17:25:28 +00:00
romanb
6a3aa84973 [2.0] Made MySqlPlatform default to innodb table engine. Some cleanups while investigating the optimistic locking failures. 2009-08-28 12:36:06 +00:00
jwage
f83fd8e950 [2.0] Updating exceptions to use methods so that we can later provide better exception messages 2009-08-26 22:03:39 +00:00
romanb
b1d34fca1c [2.0] Work on SchemaTool and DBAL. 2009-08-21 18:13:22 +00:00
romanb
3d17cb0d60 [2.0] Applied fixes for character casing issues. Simplified inheritance mapping and improved handling of outer joins in Class Table Inheritance. 2009-08-17 17:58:16 +00:00
romanb
32069cc2b5 [2.0] More preparations to fix character casing issue. Reverted and completed ConditionalPrimary parsing and added more tests for this. 2009-08-16 16:36:00 +00:00
romanb
ebb432bfb8 [2.0] Preparing to address character casing issue. 2009-08-15 18:11:51 +00:00
romanb
e578bad687 [2.0] Fixed several referential integrity issues. Fixed critical issue with inserts being run twice on postgresql/oracle. Added support for additional tree walkers that modify the AST prior to SQL construction and started to play with it in a testcase. 2009-08-13 10:13:06 +00:00
romanb
8797921937 [2.0] Removed AssociationMappings from ResultSetMapping for improved caching. Fixed caching issue with reflection classes and properties. Reimplemented and leaned up broken identifier quoting. Added support for named (native) queries. Fixed small hydration memory leak. 2009-08-11 10:51:38 +00:00
guilhermeblanco
103cdf5778 [2.0] More docblocks. Renamed methods Type::addCustomType to Type::addType and Connection::exec to Connection::executeUpdate. Added Type::hasType. 2009-08-10 22:43:27 +00:00
guilhermeblanco
33fc28ffbd [2.0] Updated AST nodes to use public properties instead of setter/getter methods. 2009-08-06 21:42:07 +00:00
romanb
00599a80d4 [2.0] Streamlined result structures. Hydration improvements: Small overall improvements, large improvement for (joined) fetched collections (~60%). 2009-08-03 13:25:56 +00:00
piccoloprincipe
0c623fdb9e [2.0] Accomodate joincolumn names in the metadata, in the selection and the hydration processes. Improved Api of the ProxyFactory. Working implementation of lazy loading for *-to-one associations (affects #2348) 2009-07-20 12:05:19 +00:00
jwage
cc3ea569a4 [2.0] Initial version of optimistic locking with integer version columns 2009-07-17 18:13:03 +00:00
romanb
35aa9a4850 [2.0] Adding missing event classes and some AnnotationDriver refactorings. 2009-07-15 16:31:59 +00:00
jwage
311cff87d3 [2.0] More test coverage 2009-07-14 22:36:09 +00:00
jwage
26bdd89be6 [2.0] Test coverage for OFFSET AND LIMIT sql generation for all platforms and Query class with setFirstResult() and setMaxResult() 2009-07-13 22:59:36 +00:00
jwage
f608dd8a72 [2.0] More work on the QueryBuilder and Expr classes. 2009-07-10 17:53:48 +00:00
romanb
537c8e4951 [2.0] Implemented DQL bulk DELETE support for Class Table Inheritance. Other cleanups, refactorings and docblock additions. 2009-06-22 18:48:42 +00:00
jwage
61555c78d2 [2.0] Cleanup 2009-06-20 17:02:02 +00:00
jwage
78d43097ca [2.0] Testing all dbal types and making sure they are fully implemented 2009-06-20 15:09:59 +00:00
jwage
ab2b3999c0 [2.0] Adding date and time types. Fixing CURRENT_DATE, CURRENT_TIMESTAMP and CURRENT_TIME functions 2009-06-20 14:24:21 +00:00
jwage
ada2c5c5a7 [2.0] Work on datetime dbal type and date portability 2009-06-20 12:59:33 +00:00
jwage
e21d8fffae [2.0] Removing old enum stuff 2009-06-15 16:21:24 +00:00