beberlei
|
d5fd881c27
|
[2.0] DDC-92 - Completly removed DoctrineException in DBAL package
|
2010-02-19 22:43:39 +00:00 |
|
beberlei
|
07e73880f5
|
[2.0] DDC-92 - Completly removed DoctrineException in DBAL package
|
2010-02-19 22:33:54 +00:00 |
|
beberlei
|
446a2ea7bb
|
[2.0] DDC-327 - Always Deep Clone all Schema Assets
|
2010-02-13 22:58:36 +00:00 |
|
beberlei
|
6bfbab9f7d
|
[2.0] DDC-325 - Fixed LOCATE() support for all platforms.
|
2010-02-11 22:38:23 +00:00 |
|
beberlei
|
371f3d5ecc
|
[2.0] DDC-321, DDC-323, DDC-324 - Implemented way to define UDFs from PHP in Sqlite Driver and registered to required default callbacks for SQRT and MOD, allowing functional tests for DQL MOD and SQRT to pass for all platforms.
|
2010-02-11 21:38:58 +00:00 |
|
beberlei
|
13bf8a760f
|
[2.0] DDC-322 - Fixed Trim across all platforms using AbstractPlatform::getTrimExpression()
|
2010-02-11 21:19:54 +00:00 |
|
beberlei
|
8357289050
|
[2.0] DDC-320 - Fixed Substring across all platforms using AbstractPlatform::getSubstringExpression() instead of the "hand-built" one.
|
2010-02-11 20:19:05 +00:00 |
|
beberlei
|
b9daf621cf
|
[2.0] DDC-313 - Removed lots of dead and unnecessary code
|
2010-02-11 14:29:12 +00:00 |
|
beberlei
|
5b43f72e27
|
[2.0] DDC-313 - Removed abstracted trigger support, list functions, list users and the platform specific code to generate the queries for this stuff.
|
2010-02-11 13:06:14 +00:00 |
|
beberlei
|
962ecab75e
|
[2.0] DDC-312 - Prepared View and Trigger support in DBAL\Schema
|
2010-02-10 23:53:07 +00:00 |
|
beberlei
|
22edbcec33
|
[2.0] DDC-312 - Refactored View support of all platforms a little - Oracle now also supports the retrieval of the sql used to generate a view so that a common datastructure View is a viable option.
|
2010-02-10 23:41:35 +00:00 |
|
beberlei
|
3de3bbb969
|
[2.0] DDC-302 - Drop convenience methods since their API is somewhat strange, have to think about something else. Dropped AbstractSchemaManager::listTableConstraints() support - since it only returns the names of all constraints, which are already returned much more nicely with listTableIndexes().
|
2010-02-10 22:45:39 +00:00 |
|
beberlei
|
bf32775953
|
[2.0] DDC-214 - Changed MysqlPlatform::geTListTableForeignKeySql() slightly to be performant again, thanks Eric Durand-Tremblay for the patch!
|
2010-02-09 18:48:09 +00:00 |
|
romanb
|
4adc289596
|
[2.0][DDC-284] Fixed. API polish and some convention over configuration simplifications for join columns and join tables.
|
2010-02-09 17:13:49 +00:00 |
|
beberlei
|
ac4c33c371
|
[2.0] DDC-214, DDC-303, DDC-304 - Fix several errors with Schema Inference from Database and Metadata and Comparisons, aswell as related bugs in DatabaseDriver. DDC-305 - Abstracted TRUNCATE command for all platforms.
|
2010-02-07 12:36:30 +00:00 |
|
beberlei
|
775bd5d0da
|
[2.0] Restriction of coverage to library path
|
2010-02-07 00:29:45 +00:00 |
|
beberlei
|
e500669165
|
[2.0] DDC-301 - Table Primary Key Columns should explicitly set to notnull => true.
|
2010-02-04 18:23:38 +00:00 |
|
beberlei
|
2fa58ee7b8
|
[2.0] DDC-296 - Fix in quoting
|
2010-02-01 19:20:37 +00:00 |
|
beberlei
|
310d98cffe
|
[2.0] DDC-296 - Implement and document Mysql Session Init 'postConnect' Subscriber
|
2010-02-01 18:56:06 +00:00 |
|
beberlei
|
cb7fbee1b0
|
[2.0] DDC-295 - Add OracleSessionInit postConnect Subscriber
|
2010-01-31 22:01:58 +00:00 |
|
beberlei
|
e7f5089ea4
|
[2.0] DDC-294 - Added "postConnect" event in Doctrine\DBAL\Connection and refactored TestUtil to allow configuration of DBAL EventManager Subscribers by the use of PHPunit Xml configuration.
|
2010-01-31 21:51:15 +00:00 |
|
beberlei
|
3ea1f8064a
|
[2.0] DDC-290 - Enhance OCI8 Error handling and convert errors to exceptions where necessary.
|
2010-01-31 18:17:05 +00:00 |
|
beberlei
|
2036c95834
|
[2.0] DDC-92 - Refactored Doctrine\DBAL\DriverManager some more in regards to exceptions and added some more test-cases.
|
2010-01-23 23:12:27 +00:00 |
|
beberlei
|
bbce4a407a
|
[2.0] DDC-92 - Removed DoctrineException from Doctrine\DBAL\DriverManager and replaced with more specific DBALException's
|
2010-01-23 22:59:48 +00:00 |
|
beberlei
|
c0d023c511
|
[2.0] Removed accidentlly committed .orig patch files.
|
2010-01-22 16:29:48 +00:00 |
|
beberlei
|
9cd0379f53
|
[2.0] DDC-200 Implemented support for @columnDefinition - even with support to pass the definition to join columns if necessary for relations.
|
2010-01-20 22:35:18 +00:00 |
|
beberlei
|
b521b49402
|
DDC-179 - Fixed issue with persistance of date fields by moving ! operator to the convertToPhpValue method.
|
2010-01-16 08:52:58 +00:00 |
|
beberlei
|
83b247b812
|
DDC-179 - Use ! modifier in Date Format to reset all non-date parts to zero unix timestamp values, i.e. H:i:s => '00:00:00' always
|
2010-01-13 18:11:34 +00:00 |
|
guilhermeblanco
|
9f9cc4870d
|
[2.0][DDC-236] Enhanced unique constraints to support names. Fixed general issues on XML and YAML exporters. Fixed issues on XML, YAML, Doctrine 1.X and Annotation drivers.
|
2010-01-06 13:27:09 +00:00 |
|
guilhermeblanco
|
9ad13c4730
|
[2.0][DDC-236] Enhanced unique constraints to support names. Fixed general issues on XML and YAML exporters. Fixed issues on XML, YAML, Doctrine 1.X and Annotation drivers.
|
2010-01-06 13:23:56 +00:00 |
|
guilhermeblanco
|
bd6ed7cc76
|
[2.0] Fixing more glitches found with CLI refactoring
|
2009-12-22 16:17:35 +00:00 |
|
guilhermeblanco
|
bf0cfba239
|
[2.0] Incorporated CLI refactorings. Added support to namespaces and unlimited depth namespaces. Dropped globalArguments for now, since they interfer in DAG implementation.
|
2009-12-21 17:38:14 +00:00 |
|
romanb
|
fe7ef4bbeb
|
[2.0][DDC-122][DDC-97][DDC-98][DDC-147] Refactored metadata mapping drivers by removing the useless PRELOAD mode. Introduced ClassMetadataFactory#getAllMetadata. Classloader simplifications. Old classloaders deprecated. New Doctrine\Common\ClassLoader is almost the same as the previous IsolatedClassLoader.
|
2009-12-15 21:06:32 +00:00 |
|
beberlei
|
fade63a29c
|
[2.0] DDC-169 - Further refactorings, schema max identifier length is now used for asset generation. Added platform-wide test for unique index generation with create table.
|
2009-12-10 23:55:47 +00:00 |
|
beberlei
|
1546663743
|
[2.0] DDC-169 - Some refactorings
|
2009-12-10 22:39:28 +00:00 |
|
romanb
|
3a39bea9f0
|
[2.0][DDC-171] Fixed.
|
2009-12-09 16:06:39 +00:00 |
|
romanb
|
909e98c6f2
|
[2.0][DDC-202][DDC-132][DDC-185] Fixed.
|
2009-12-09 12:37:57 +00:00 |
|
beberlei
|
03bc9350dc
|
[2.0] DDC-156 - Allow to pass custom platforms
|
2009-12-08 19:41:47 +00:00 |
|
romanb
|
ddb5a66fd8
|
[2.0][DDC-191][DDC-192] Attempt to fix both.
|
2009-12-07 16:21:29 +00:00 |
|
beberlei
|
934feace57
|
[2.0] DDC-197 - Fix for OCI8 returning CLOBs as OCI-LOB instances, was it that easy? The test suggets that inserting clobs is not even requiring the temporary syntax anymore.. Great!
|
2009-12-06 23:46:02 +00:00 |
|
beberlei
|
146e2319f1
|
[2.0] DDC-169 - Some final cleanups for the DBAL refactoring, changed SchemaTool CLI API slightly.
|
2009-12-06 23:11:35 +00:00 |
|
beberlei
|
ba99f53fd5
|
[2.0] DDC-169 - Fix implicit/explicit index creation differences between platforms
|
2009-12-06 18:55:08 +00:00 |
|
beberlei
|
bf0ef0d0a7
|
[2.0] DDC-169 - Fix several complications in update and drop schema code.
|
2009-12-06 18:36:46 +00:00 |
|
beberlei
|
9fdce97b97
|
[2.0] DDC-169 - Fix bug in Comparator
|
2009-12-06 13:06:09 +00:00 |
|
beberlei
|
34119d3925
|
[2.0] DDC-169 - Fix order that column and index/fk changes are applied in alter table.
|
2009-12-06 13:00:49 +00:00 |
|
beberlei
|
8a46eb0439
|
[2.0] DDC-169 - Finished ALTER Table TableDiff refactoring, adding code to handle index and FK changes. Added a general functional test for alter table against all platforms.
|
2009-12-06 12:13:15 +00:00 |
|
beberlei
|
dd6abf751f
|
[2.0] DDC-169 - AbstractPlatform::getAlterTableSql() now accepts only a TableDiff instance as argument across all platforms.
|
2009-12-06 09:47:54 +00:00 |
|
beberlei
|
8bfde41374
|
[2.0] DDC-169 - Add ColumnDiff and further Comparator column stuff
|
2009-12-05 15:48:54 +00:00 |
|
beberlei
|
6339372718
|
[2.0] DDC-169 - Add functionality to detect that an add + drop column diff is actually just a rename column.
|
2009-12-05 11:01:11 +00:00 |
|
beberlei
|
35e0121b49
|
[2.0] DDC-169 - Implemented Index and ForeignKey comparison based on properties and not on names.
|
2009-12-05 10:33:46 +00:00 |
|
beberlei
|
ecfa0eee83
|
[2.0] DDC-169 - Added tests for case-handling which is necessary for Comparator
|
2009-12-04 23:03:08 +00:00 |
|
beberlei
|
0788cdf15e
|
[2.0] DDC-169 - Stripped case handling since its just a load of complex crap and doesn't solve any problem! Idea: just implement case-insensitivity in the comparator.
|
2009-12-04 22:41:09 +00:00 |
|
beberlei
|
70075d8f80
|
[2.0] DDC-169 - Added possibility to control which case mode schema assets are created with in SchemaManager
|
2009-12-04 21:58:16 +00:00 |
|
beberlei
|
556f8699ee
|
[2.0] DDC-186 - Fixed DatabaseDriver to work with new Schema abstraction, added functional test-cases for database to yaml convertion.
|
2009-12-04 21:40:03 +00:00 |
|
beberlei
|
b0bbe281f3
|
[2.0] DDC-169 - Introduced handling of schema / database case-sensitivity differences and to allow compability between different platforms.
|
2009-12-03 22:10:13 +00:00 |
|
romanb
|
15f84f6eb0
|
[2.0][DDC-187] Fixed. Also fixed some DBAL failures on postgres.
|
2009-12-03 13:17:56 +00:00 |
|
guilhermeblanco
|
73017b536f
|
[2.0][DDC-180] Fixed SmallInt type which was missing to extends Type
|
2009-12-03 02:36:59 +00:00 |
|
beberlei
|
745b52b163
|
[2.0] DDC-169 - Fixed introduced bug in Oracle Platform
|
2009-12-02 22:33:01 +00:00 |
|
beberlei
|
197224de2e
|
[2.0] DDC-169 - Changed AbstractPlatform and AbstractSchemaManager Constraint API to accept Constraint interface, which is implemented by indexes and foreign keys.
|
2009-12-02 22:28:38 +00:00 |
|
beberlei
|
25c9588592
|
[2.0] DDC-169 - Changed AbstractPlatform and AbstractSchemaManager and children to accept Sequences in their create and get sql methods.
|
2009-12-02 19:07:38 +00:00 |
|
beberlei
|
8562c80890
|
[2.0] DDC-169 - Changed AbstractPlatform and AbstractSchemaManager and children to accept Table, Index and ForeignKey instances for the respective create*() methods.
|
2009-12-02 18:52:21 +00:00 |
|
beberlei
|
e3314dae16
|
[2.0] DC-169 - New method AbstractSchemaManager::createSchema() which creates a schema instance with full tables and sequences, additionally listTables() was rewritten to return a full Table instance instead of just the table names.
|
2009-11-30 23:12:26 +00:00 |
|
beberlei
|
b7652f1f4e
|
[2.0] Temporary fix for 186
|
2009-11-30 22:33:08 +00:00 |
|
beberlei
|
31be2519f6
|
[2.0] DDC-169 - Fix build, Postgres, Oracle and Sqlite made some minor troubles with regards to sequences.
|
2009-11-30 21:16:29 +00:00 |
|
beberlei
|
af48974a75
|
[2.0] DDC-169 - Converted introspection queries of all platforms to return Column, Sequence, Index, ForeignKey Schema Instances instead of arrays, heavily pimped Oracle support thereby.
|
2009-11-30 19:02:05 +00:00 |
|
beberlei
|
709dfb52c4
|
[2.0] DDC-169 - Finalized implementation of Schema diff algorithm, added diffs of sequences and foreign keys. Fixed several bugs and changed the API of the Schema objects.
|
2009-11-29 15:51:14 +00:00 |
|
beberlei
|
f22a56cdd7
|
[2.0] - DDC-169 - Fixed another regression in refactored SchemaTool, began porting of eZ Components Database Schema Comparator, SchemaDiff and TableDiff.
|
2009-11-28 14:30:08 +00:00 |
|
beberlei
|
44cc6465be
|
[2.0] DDC-169 - Savepoint for Refactorings in Schema-Tool - It is now generating DDL according to the old and the new mechanisms in parallel. Equality of generation has been verified on Sqlite, Mysql, Oracle. If Postgres is also verified, the old code will be removed in favour of the new one completly.
|
2009-11-28 01:22:21 +00:00 |
|
beberlei
|
0902527476
|
[2.0] - DDC-169 - Added DropSchemaSql Visitor - Refactored Visitor package a bit, however its still not very appealing to have that much use statements cluttered in the code
|
2009-11-27 22:00:43 +00:00 |
|
beberlei
|
22cfa37f43
|
[2.0] - DDC-169 - Began refactoring of DBAL code, introduced object notation for a database schema, including Tables, Indexes, Constraints, Sequences and Columns. Added a CreateSql Visitor which transforms a schema object graph into the required SQL statements to create it. Next: Replacing SchemaTool::getCreateSql() with new syntax...
|
2009-11-26 21:56:08 +00:00 |
|
guilhermeblanco
|
ba4d1bb393
|
Fix create/drop database against PgSQL. Thanks Hannes and Russ for patch
|
2009-11-25 16:27:18 +00:00 |
|
romanb
|
555b097641
|
[2.0][DDC-164][DDC-165] Fixed. Cleaned up ManyToManyMapping. Cleaned up identifier handling and handling of composite identifiers in some places.
|
2009-11-21 18:52:02 +00:00 |
|
romanb
|
57a97eba01
|
[2.0][DDC-120] First version of OCI8 driver.
|
2009-11-08 11:11:46 +00:00 |
|
romanb
|
8e3f6eee0a
|
[2.0][DDC-121] Fixed. Also fixed memcache tests and some small refactorings.
|
2009-11-08 11:07:49 +00:00 |
|
beberlei
|
7220cb2e8b
|
DDC-118 - Fixed introduced regression and added tests for future
|
2009-11-05 18:55:02 +00:00 |
|
beberlei
|
69ef16360f
|
[2.0] DDC-112 - Enhance debugging capabilities in OrmFunctionalTestCase by logging all SQL queries and enrichting all test failures with them (PHPUnit 3.4 only feature).
|
2009-11-04 11:39:49 +00:00 |
|
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 |
|