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

148 Commits

Author SHA1 Message Date
romanb
59a17eb51c [2.0][DDC-171] Fixed (second attempt). Some other cleanups. Performance fix for mock Statement used in hydration performance tests for more accurate and better results. 2009-12-10 21:27:20 +00:00
romanb
b276574ece [2.0][DDC-171] Added coverage. 2009-12-09 17:00:18 +00:00
romanb
909e98c6f2 [2.0][DDC-202][DDC-132][DDC-185] Fixed. 2009-12-09 12:37:57 +00:00
beberlei
a26464da4c [2.0] DDC-169 - Fix Bug in SchemaTool Unique Handling 2009-12-08 21:52:26 +00:00
beberlei
3e823f065a [2.0] DDC-176 - Disallow iterate() over fetch-join collections by the means of an exception on parsing the DQL query. 2009-12-08 20:53:01 +00:00
beberlei
845c85552e [2.0] DDC-194 - Fixed infinite recursion issue with references and @PostLoad annotation by telling proxy to be loaded before calling EntityPersister->load... 2009-12-07 22:10:40 +00:00
beberlei
59c6449076 [2.0] DDC-168 - Add test-case that proves that the order of reflFields matters for inserting, which causes problems with caching. 2009-12-07 21:20:04 +00:00
romanb
304e2286e2 [2.0][DDC-199] Fixed. 2009-12-07 20:35:44 +00:00
romanb
ddb5a66fd8 [2.0][DDC-191][DDC-192] Attempt to fix both. 2009-12-07 16:21:29 +00:00
beberlei
329d095261 [2.0] DDC-197 - Extended CLOB Test-Case even more with additional update of the string, which still works on OCI8 2009-12-06 23:49:30 +00:00
beberlei
5af891d157 [2.0] DDC-197 - Add failing test on oracle as a challenge to fix OCI CLOB handling. 2009-12-06 23:40:38 +00:00
beberlei
58e99d39d2 [2.0] DDC-169 - Replaced SchemaTool::getUpdateSql() with the Schema Comparator Code. 2009-12-06 12:23:13 +00:00
beberlei
e9f2f6736a [2.0] DDC-169 - Fixed DatabaseDriver 2009-12-05 09:39:30 +00:00
beberlei
a0d26a8409 [2.0] DDC-169 - Fixed DatabaseDriver 2009-12-05 09:39:11 +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
romanb
15f84f6eb0 [2.0][DDC-187] Fixed. Also fixed some DBAL failures on postgres. 2009-12-03 13:17:56 +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
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
2c27435bb2 [2.0] - DDC-169 - Completed refactoring of SchemaTool::getCreateSql() to use new DBAL Schema API, several internal optimizations in SchemaTool are now possible. Stripped out shared functionality with getUpdateSql() so that this part of SchemaTool is still completly working with the old API. 2009-11-28 10:48:51 +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
beberlei
a9d739a743 [2.0] Refactor Exceptions from Query and AST\InputParameter into QueryException class. 2009-11-21 17:04:17 +00:00
beberlei
f9ab947372 DDC-126 - Make Query, NativeQuery Fluent-Interfaces for all their set Methods, renamed setExpireQueryCache() and setExpireResultCache() to expireQueryCache() and expireResultCache(). Updated UPGRADE_TO_2_0 document accordingly. 2009-11-21 13:13:19 +00:00
beberlei
5930a7c42d DDC-127 - Enhance IterableResult by making it implement the Iterator interface, wrote a unit-test for this scenario, also added some additional tests for special cases in the query api that lead to exceptions. 2009-11-20 15:10:45 +00:00
romanb
61f09e335e [2.0][DDC-158] Fixed. Collections did not take snapshots after lazy initialization leading to wrong change sets. 2009-11-19 13:12:00 +00:00
romanb
ea4f5c172a [2.0][DDC-149] Fixed. 2009-11-16 17:03:33 +00:00
romanb
124cbe9086 [2.0][DDC-137] Fixed. 2009-11-15 11:42:05 +00:00
romanb
c3ef019549 [2.0][DDC-145] Fixed. 2009-11-13 19:34:10 +00:00
romanb
94d771172e [2.0][DDC-74] Fixed. 2009-11-13 16:39:28 +00:00
romanb
3a282b1e9c [2.0][DDC-141] Fixed. 2009-11-13 10:11:14 +00:00
romanb
ab0c7b11c8 [2.0][DDC-136] Some fixes to internal UnitOfWork logic. 2009-11-11 16:20:29 +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
romanb
3a59aefd5c [2.0] Fixed typo in test. 2009-11-07 11:41:16 +00:00
romanb
7bbdac1c88 [2.0][DDC-61][DDC-108] Fixed. Started exception refactoring. 2009-11-03 18:30:21 +00:00
beberlei
140f597e3b [2.0] Fixed DDC-101, DDC-102 - Ensure defaults for string length and field nullability are handled consistently in both update and create schema commands of SchemaTool. 2009-11-02 12:53:05 +00:00
romanb
94569baa0b [2.0][DDC-88] Corrected accidental swap of precision/scale. 2009-11-01 11:09:27 +00:00
romanb
44045a6b83 [2.0][DDC-88] Quoted field name in decimal model as a little test for identifier quoting. 2009-11-01 11:04:03 +00:00
beberlei
4d3c4a704a [2.0] DDC-84 - Add Mysql Platform unittests for incremental changes of the metadata for the schematool update function. Fixed some quirks in the Unit-Test suite alongside, Fixed changes of length in SchemaTool update. 2009-10-31 22:23:36 +00:00
romanb
f572c372dc [2.0] Fixed DDC-18. Simplified proxy classes. Just 1 proxy class per entity now, instead of 2. 2009-10-28 15:32:55 +00:00
romanb
aa72619c5d [2.0][DDC-55] Fixed. 2009-10-28 11:29:29 +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
8b1e0d413c [2.0][DDC-57] Added coverage for many-to-many issue provided by Arthur Purnama. 2009-10-26 13:18:44 +00:00
romanb
08694d1826 [2.0] Some optimizations and small fixes. 2009-10-25 21:40:57 +00:00
jwage
ccf27a386c [2.0] Minor fixes to cache drivers and result set cache implementation 2009-10-24 00:28:43 +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
jwage
da38026bc2 [2.0][DDC-47] Added ability to set the result cache id used to store the cache entry 2009-10-22 22:39:37 +00:00
romanb
5b60f87859 [2.0] Fixed some known issues with inheritance, especially class table inheritance, like join columns not being selected. 2009-10-22 19:12:00 +00:00
romanb
c54d582568 [2.0] Added test coverage for native query with joined one-to-one association. 2009-10-22 09:10:59 +00:00
romanb
9bb17475ed [2.0] Fixed hydration issue with bidirectional one-to-many associations. Added more test coverage for some advanced association queries and lazy-loading. 2009-10-16 10:35:46 +00:00