guilhermeblanco
203b46dea2
[2.0] Changed stylish of CLI tasks. Added CLI documentation for SchemaTool task
2009-09-04 17:24:48 +00:00
guilhermeblanco
1557f4e103
[2.0] Added error message to --update task in SchemaToolTask reporting incomplete implementation
2009-09-02 20:37:20 +00:00
guilhermeblanco
222459f517
[2.0] Fixed issue with RunSqlTask. Added basic support to --update in SchemaToolTask. Misses some internal implementation
2009-09-02 20:35:30 +00:00
romanb
bf1a52517d
[2.0] Fixed issue with file-based metadata drivers and the CLI.
2009-09-02 16:08:03 +00:00
guilhermeblanco
4fa4d7a8ca
[2.0] Added validation to RunSqlTask
2009-09-02 02:41:57 +00:00
romanb
374733a9c5
[2.0] More minor visual cli stuff and help messages
2009-09-01 16:48:28 +00:00
romanb
6e8a511094
[2.0] small visual cli changes
2009-09-01 16:33:58 +00:00
guilhermeblanco
7411ca3532
[2.0] More work on CLI Tasks. Implemented HelpTask.
2009-09-01 13:43:53 +00:00
romanb
2442cfa81b
[2.0] Refined ClassLoader API class documentation to be more clear and descriptive.
2009-09-01 13:20:51 +00:00
romanb
7c359905a8
[2.0] Fixed classloader issue.
2009-09-01 13:00:05 +00:00
romanb
fd204ee7f6
[2.0] Updated description for pear packages. Enhanced ClassLoader to support the old namespace separator (underscore) for Zend/PEAR/... compatibility until some day when they all use 5.3+.
2009-09-01 08:18:36 +00:00
romanb
94c187685b
[2.0] Work on CLI: Added SchemaToolTask with preliminary support for dropping/creating the database schema. Prepared the sandbox. Adjusted build to include the sandbox.
2009-08-31 16:21:29 +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
romanb
59fff29c1b
[2.0] Some hydration simplifications and cleanups.
2009-08-28 10:48:40 +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
jwage
b17ad38eed
[2.0] Renaming LifecycleListener annotation to HasLifecycleCallbacks
2009-08-26 17:14:03 +00:00
romanb
c3081adb09
[2.0] Moved beginTransaction() in UnitOfWork#commit() out of the try block so that exceptions occuring during prior or on transaction start are not masked by another exception.
2009-08-26 09:10:14 +00:00
romanb
8523648a27
[2.0] Fixed lifecycle callback mapping.
2009-08-25 09:14:08 +00:00
guilhermeblanco
356887c893
[2.0] Added docblocks
2009-08-25 04:46:46 +00:00
jwage
fd89892cc9
[2.0] Updating YAML and XML drivers to be synchronized with Annotations driver.
2009-08-24 21:05:55 +00:00
jwage
27356225dd
[2.0] Updating YAML driver with missing elements from XML driver.
2009-08-24 18:33:59 +00:00
jwage
05d5fe4954
[2.0] Finishing optimistic locking with timestamp support
2009-08-24 17:06:12 +00:00
romanb
25be43c314
[2.0] Some small cleanups on new CLI code. Added basic CLI file 'doctrine'.
2009-08-24 10:18:10 +00:00
guilhermeblanco
b3cb24aa8f
[2.0] Added missing CLI file
2009-08-23 21:41:34 +00:00
guilhermeblanco
111e94ec3e
[2.0] Implemented base of CLI tasks. Also included drafts of Version and Help tasks. Implemented two Printers: Normal and ANSI Color.
2009-08-23 20:27:02 +00:00
romanb
b1d34fca1c
[2.0] Work on SchemaTool and DBAL.
2009-08-21 18:13:22 +00:00
guilhermeblanco
0612e6b0a6
[2.0] Removed not used class.
2009-08-20 03:34:15 +00:00
guilhermeblanco
74af8a28ae
[2.0] Removed *where*In methods from QueryBuilder. Finished decouple of QueryBuilder and Expr. Updated docs.
2009-08-20 03:21:39 +00:00
guilhermeblanco
842267c11c
[2.0] Refactored pieces of QueryBuilder, it does not use string concatenation anymore. Splitted from into from and join, allowing update and delete DQLs to be correctly built. Added missing entry set. Removed Expr\Having because it was useless. Updated docs.
2009-08-20 02:59:42 +00:00
guilhermeblanco
e5a95bf363
[2.0] More documentation and fixes to QueryBuilder and Expr classes.
2009-08-17 23:30:41 +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
d8c8078302
[2.0] Small optimization.
2009-08-16 17:42:04 +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
guilhermeblanco
cf77048ee4
[2.0] Fixed issue with functions accepting subqueries. Implemented missing Expr\Join class. Added Expr::*join helper functions.
2009-08-14 22:50:36 +00:00
guilhermeblanco
b0202f2921
[2.0] Fixed issue with missing parenthesis in Math expressions
2009-08-14 21:03:27 +00:00
guilhermeblanco
c81affb9f7
[2.0] Some fixes in Expr. More documentation added.
2009-08-14 20:46:43 +00:00
guilhermeblanco
abc853ec48
[2.0] Documentation, documentation, documentation...
2009-08-14 18:22:41 +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
guilhermeblanco
8452108e21
[2.0] Some code reordering, changes. Removed classMetadata from RangeVariableDeclaration, since it is against AST concept.
2009-08-13 02:17:27 +00:00
guilhermeblanco
7c6dc8b701
[2.0] Removed wrong echo of DQL parser
2009-08-11 22:14:43 +00:00
guilhermeblanco
f1481d9506
[2.0] Added dump function for AST nodes to help debugging complex queries
2009-08-11 22:11:33 +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
aee14e3147
[2.0] Small fix for my previous commit.
2009-08-10 21:48:59 +00:00
guilhermeblanco
837e74da4a
[2.0] Added more missing docblocks. Implemented a double-inclusion listener prevention in EventManager
2009-08-10 21:36:57 +00:00
guilhermeblanco
c5828271cc
[2.0] More docblocks and changed exception thrown in Annotations parser
2009-08-08 23:16:13 +00:00
guilhermeblanco
92f22c8567
[2.0] More optimizations on Annotations parser. More docblocks also
2009-08-08 04:36:58 +00:00
guilhermeblanco
ac5fe1f91b
[2.0] Some Annotations parser docblocks, optimizations, etc. Fixed wrong syntax error token report in DQL parser
2009-08-07 21:47:21 +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
guilhermeblanco
f087a0058b
[2.0] Started refactoring of AST nodes to use public properties instead of getter/setter methods
2009-08-06 15:48:41 +00:00
guilhermeblanco
401235d7ca
[2.0] Started refactoring of AST nodes to use public properties instead of getter/setter methods
2009-08-06 15:38:41 +00:00
guilhermeblanco
3949fddcf5
[2.0] Added missing quoteIdentifiers to SqlWalker
2009-08-06 15:35:14 +00:00
guilhermeblanco
c1744d2e35
[2.0] Added missing quoteIdentifiers to SqlWalker
2009-08-06 15:08:03 +00:00
guilhermeblanco
88698c3a78
[2.0] Created common Lexer code for Annotations parser and Query parser. Added some docblocks
2009-08-05 21:13:42 +00:00
guilhermeblanco
084add0af0
[2.0] Fixed warning in semantical error reporting (strpos with length over dql length). Fixed wrong grammar rule. Fixed wrong token position on semantical error reporting. Added more semantical checks in UpdateItem
2009-08-05 19:00:16 +00:00
romanb
f64347d899
[2.0] Implemented SQL generation for SIZE() function and EmptyCollectionComparisonExpression.
2009-08-05 15:47:41 +00:00
guilhermeblanco
fde6431d1d
[2.0] Commiting missing file
2009-08-05 14:54:53 +00:00
guilhermeblanco
995eaf3dcd
[2.0] Finish implementation of nesting level checkings.
2009-08-05 03:56:21 +00:00
guilhermeblanco
cd50fc38ad
[2.0] Implemented EmptyCollectionComparisonExpression. Need to write SQL transformation yet.
2009-08-04 21:41:53 +00:00
guilhermeblanco
462a27ee95
[2.0] Changed structure of creation of SqlWalkers in DQL Parser. They are now strings instead of instances of dummy classes. Implemented nesting level check for ResultVariable
2009-08-04 19:48:40 +00:00
romanb
e67b30703b
[2.0] Changed init() to __construct().
2009-08-04 09:33:36 +00:00
guilhermeblanco
aa0792b166
[2.0] InputParameter removed from Literal, since it's not actually a literal value. Changed grammar rules to accomodate this decouple
2009-08-04 04:11:43 +00:00
guilhermeblanco
733556b632
[2.0] Minor change in *Walker to be able to be used by custom assigned Walkers
2009-08-04 03:33:45 +00:00
romanb
0a497062c9
[2.0] Renamed some methods for a better API.
2009-08-03 17:18:37 +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
guilhermeblanco
c71c55f2e7
[2.0] Some docblocks inclusion.
2009-08-01 23:40:11 +00:00
guilhermeblanco
b2b06554b4
[2.0] More work on DQL parser of Doctrine 2.0. More semantical checks included. Missing scope checking of ResultVariable (SELECT and Sub-SELECT differences). Removed invalid grammar rules.
2009-07-31 04:03:01 +00:00
romanb
e1f2b8abec
[2.0] Implemented support for mapped superclasses. Fixed #2353 .
2009-07-30 15:16:02 +00:00
guilhermeblanco
772066156c
[2.0] Implemented more TODO items in DQL Parser. Optimized PathExpression. Changed wrong grammar rule name in EBNF.
2009-07-30 04:40:04 +00:00
romanb
92214eaf37
[2.0] Part II for ticket #2352 . Fixed #2352 .
2009-07-29 12:00:08 +00:00
romanb
2ec4cc5cbe
[2.0] More cleanups for recent lazy-loading implementation and minor object hydration improvements and cleanups. Collection refactoring part I for ticket #2352 .
2009-07-29 11:57:27 +00:00
romanb
62446f0f3c
[2.0] Cleanup for changeset #6172 .
2009-07-28 16:36:24 +00:00
piccoloprincipe
82c416686e
[2.0] resolved hydrateAdd() recursivity
2009-07-28 12:30:35 +00:00
piccoloprincipe
c073f1d113
[2.0] completed implementation of lazy loading for Collections. Created debug helper class. Fixed default for orderBy clause to ASC
2009-07-28 11:43:42 +00:00
romanb
2807a83d5d
[2.0] Started to simplify commit order calculation.
2009-07-27 09:50:22 +00:00
romanb
56a708843d
[2.0] Added missing detach cascade option.
2009-07-25 16:52:19 +00:00
romanb
28ca2acb8b
[2.0] Refined implementation and semantics of the merge and detach operations. General cleanups and API improvements. Added a testcase for detaching/serializing->unserializing->modifying->merging to demonstrate the transparent serialization.
2009-07-25 16:33:29 +00:00
romanb
da07bf4a37
[2.0] Small refactorings.
2009-07-24 11:33:38 +00:00
romanb
d674f1923d
[2.0] Fixed #2373 . Some small perf. improvements for UnitOfWork.
2009-07-23 09:52:16 +00:00
guilhermeblanco
b121576ff4
[2.0] Fixed DQL parser to use Query::HINT_FORCE_PARTIAL_LOAD instead of string.
2009-07-22 05:06:06 +00:00
guilhermeblanco
58a157863e
[2.0] Finished reorganization of grammar rules in DQL parser source code. Renamed some private methods.
2009-07-22 03:46:05 +00:00
romanb
1299e83853
[2.0] Fixed docblock and return value from previous commit.
2009-07-21 15:57:11 +00:00
romanb
ae1b9371ec
[2.0] Fixed #2366 .
2009-07-21 15:53:58 +00:00
romanb
be0088f00c
[2.0] Fix and test for result cache.
2009-07-21 10:48:19 +00:00
romanb
49434b0322
[2.0] Further cleanups. Started eager loading support.
2009-07-21 09:25:14 +00:00
guilhermeblanco
b3d110bac4
[2.0] Started massive reorganization of grammar rules in DQL parser.
2009-07-21 05:22:22 +00:00
romanb
a301834057
[2.0] First part of cleanup for changeset 6120. More to follow.
2009-07-20 15:30:54 +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
romanb
4d146d321f
[2.0] Small hydration cleanups and improvements.
2009-07-20 10:52:07 +00:00
guilhermeblanco
e197348734
[2.0] Implemented more TODO items. Fixed some grammar rules.
2009-07-19 21:17:01 +00:00
romanb
7297ac7baa
[2.0] Addressed #2363 .
2009-07-19 16:54:53 +00:00
guilhermeblanco
82be4bf023
[2.0] More work on TODO items. Fixed grammar rule that was incorrect.
2009-07-19 16:18:51 +00:00
romanb
59cf1f745d
[2.0] added entity lifecycle events.
2009-07-18 18:06:30 +00:00
guilhermeblanco
227667c95d
[2.0] Changes in DQL grammar for optimization purposes. Implemented new DQL grammar rules and did a couple of TODOs
2009-07-18 14:53:21 +00:00
piccoloprincipe
3747365b1c
[2.0] added tests for lazy loading; added error_reporting level; wired association proxy factory
2009-07-18 13:15:54 +00:00
romanb
b8090c99a3
[2.0] Moved locking tests into Functional namespace. Fixed several missing flush() calls in some functional association tests. Reordered DELETE statements for ecommerce model tests in OrmFunctionalTestCase in order to maintain referential integrity. Fixed issue with bi-directional self-referencing one-one associations. Some other small improvements and cosmetics. Small hydration performance improvement through inlining method call in UnitOfWork::createEntity().
2009-07-18 11:41:37 +00:00
jwage
2085823661
[2.0] A few fixes and clean up to the Optimistic Locking implementation.
2009-07-17 21:55:56 +00:00
jwage
cc3ea569a4
[2.0] Initial version of optimistic locking with integer version columns
2009-07-17 18:13:03 +00:00
piccoloprincipe
6e4c24684c
[2.0] added load() method
2009-07-17 13:41:03 +00:00
piccoloprincipe
52d55da356
[2.0] working implementation of Association Proxy classes
2009-07-17 13:35:44 +00:00
piccoloprincipe
66f377fb12
[2.0] extended tests for proxy class generation
2009-07-17 12:43:37 +00:00
guilhermeblanco
8fbee579d3
[2.0] Fixed 4 issues with ProxyGenerator. It was not considering the type hint and it was generating an E_STRICT error with incompatible method declaration. Some cosmetic changes in Query
2009-07-16 22:03:35 +00:00
piccoloprincipe
cdc102fc23
[2.0] renamed classes to more descriptive names
2009-07-16 14:03:22 +00:00
piccoloprincipe
197ed0b7b6
[2.0] working implementation of reference proxies
2009-07-16 13:29:15 +00:00
guilhermeblanco
3bc4042a63
[2.0] Fixed wrong DQL error message. More improvements in DQL parser
2009-07-16 04:08:14 +00:00
guilhermeblanco
55651ec902
[2.0] Updated semantical error to display token and text close to the found error. Some cosmetics applied.
2009-07-16 03:22:08 +00:00
guilhermeblanco
c48648aa55
[2.0] Cosmetics.
2009-07-15 23:20:11 +00:00
jwage
c4e330e5ca
[2.0] Placing loadClassMetadata() event so users can manipulate class meta data through events
2009-07-15 20:18:40 +00:00
romanb
6c1690d352
[2.0] Merged PreInsertEventArgs/PreUpdateEventArgs => PreInsertUpdateEventArgs since they were identical.
2009-07-15 17:18:26 +00:00
romanb
35aa9a4850
[2.0] Adding missing event classes and some AnnotationDriver refactorings.
2009-07-15 16:31:59 +00:00
jwage
7a79785dff
[2.0] Removing old unused code from Addendum
2009-07-15 15:04:59 +00:00
jwage
6770295ac9
[2.0] Fixing hasListeners() to not use empty()
2009-07-15 13:35:06 +00:00
romanb
3ba3c67f54
[2.0] Namespaced annotations.
2009-07-15 10:59:35 +00:00
romanb
1987082c80
[2.0] Removed unnecessary parsing condition in the annotation parser.
2009-07-15 10:31:19 +00:00
romanb
f7fff511d1
[2.0] Improved AnnotationReader implementation. Fixes #2345 .
2009-07-15 10:27:22 +00:00
romanb
a3d58e7b0d
[2.0] Fixed array tests by removing tests for ArrayCache specific methods from the tests of other cache drivers. Some general API work on the cache interface.
2009-07-15 10:10:04 +00:00
romanb
0c8a35f731
[2.0] Cosmetics.
2009-07-15 06:46:43 +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
be966b0cd9
[2.0] Fixing doc block for _useCExtension flag
2009-07-10 21:49:47 +00:00
jwage
1aeff68c0f
[2.0] Initial commit to make hydration work with C extension
2009-07-10 21:47:42 +00:00
jwage
ba8b4337bb
[2.0] Cleanup on QueryBuilder and Expr from discussion with roman
2009-07-10 18:26:43 +00:00
jwage
f608dd8a72
[2.0] More work on the QueryBuilder and Expr classes.
2009-07-10 17:53:48 +00:00
jwage
312d347d2d
[2.0] More work on the QueryBuilder and Expr classes
2009-07-10 14:02:06 +00:00
romanb
838768d21f
[2.0] Small comments/todos on QueryBuilderTest.
2009-07-10 07:38:42 +00:00
jwage
a9ed0085d2
[2.0] More work on the QueryBuilder and Expr classes
2009-07-09 21:56:34 +00:00
jwage
867a34d41b
[2.0] Initial commit of a QueryBuilder class. Still needs a lot of work.
2009-07-09 04:18:58 +00:00
romanb
2ffc7f17db
[2.0] Migrated AnnotationDriver to new annotation parser. Removed addendum vendor library.
2009-07-08 15:25:41 +00:00
romanb
0515d9abb7
[2.0] New Annotation API work: Simplifications, changed namespace separator to match the one of PHP, adjusted Lexer to swallow any * characters outside of a string value to be more forgiving when it comes to formatting.
2009-07-07 11:25:58 +00:00
romanb
9075f10bf5
[2.0] Moved cache drivers to Common package. Added new annotation parser implementation to Common package. AnnotationDriver in ORM not yet migrated.
2009-07-06 20:34:54 +00:00
romanb
f064de2af1
[2.0] Fixed issue with self-referential one-to-many associations not being persisted correctly when IDENTITY key generation was used. Included now passing OneToManySelfReferentialTest.
2009-07-03 17:36:41 +00:00
romanb
31892fb4a8
[2.0] Fixed cascading issue ( #2307 ). Fixed many-many object hydration issue.
2009-07-02 11:48:44 +00:00
romanb
5bbc2a9e58
[2.0] Changing Collection#removeElement return type to be consistent with Collection#remove
2009-07-01 13:31:11 +00:00
romanb
455f877486
[2.0] Minor refactorings and docblock adjustments. Fixed #3202 .
2009-06-30 16:00:28 +00:00
romanb
6729ed28e7
[2.0] Implemented DQL bulk UPDATE support for Class Table Inheritance. Corrections to MultiTableDeleteExecutor and SqlWalker. DQL bulk UPDATE support not yet fully complete.
2009-06-23 17:50:13 +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
cc59161bea
[2.0] Adding missing _platform property
2009-06-20 13:56:46 +00:00
jwage
ada2c5c5a7
[2.0] Work on datetime dbal type and date portability
2009-06-20 12:59:33 +00:00
romanb
f28127664c
[2.0] Cleanups, build fixes.
2009-06-15 18:25:47 +00:00
jwage
e21d8fffae
[2.0] Removing old enum stuff
2009-06-15 16:21:24 +00:00
romanb
104398003c
[2.0] Parser work.
2009-06-14 17:34:28 +00:00
romanb
84c62d8aec
[2.0] Cleanup.
2009-06-07 17:21:57 +00:00
romanb
6e5a5068a6
[2.0] Converted constant values from strings to integers.
2009-06-07 17:20:37 +00:00
jwage
9f42e2d969
[2.0] Fixing reference to XML driver
2009-06-05 21:58:05 +00:00
jwage
115e4d01f2
[2.0] Refactoring the meta data drivers and refactoring yaml/xml and adding tests for yaml.
2009-06-05 21:40:47 +00:00
piccoloprincipe
bdd2241fb5
set svn:eol-style property on plain text files
2009-06-02 18:05:26 +00:00
romanb
d90e71d002
[2.0] First implementation of XmlDriver + tests. First draft of XSD document.
2009-06-01 16:14:11 +00:00
jwage
dcb1fcdb75
[2.0] Removing remaining return methods where not needed
2009-05-30 23:47:28 +00:00
jwage
34da8376b4
[2.0] Fixing __call() in AbstractSchemaManager, doc blocks, clean up
2009-05-30 23:44:16 +00:00
romanb
ac8492d241
[2.0] DBAL code cleanups.
2009-05-30 18:38:00 +00:00
romanb
9586b748a8
[2.0] Refactorings
2009-05-30 14:10:01 +00:00
romanb
548e07467e
[2.0] Solved the hassle with dropping/creating the test database through introducing a second test database for temporary connections. Please check the dbproperties.xml.dev file for reference. The 2 test databases need to be created *once* before the very first time of running the tests. New procedure successfully tested against mysql, postgresql, oracle.
2009-05-30 13:57:57 +00:00
romanb
d13e94abf7
[2.0] Small cleanups
2009-05-30 11:34:38 +00:00
romanb
8de151d8ea
[2.0] Small cleanups
2009-05-30 11:33:06 +00:00
romanb
acec85a412
[2.0] Fixed hardcoded database name.
2009-05-30 10:16:54 +00:00
romanb
c3f5cba785
[2.0] Strange formatting fix.
2009-05-30 09:39:42 +00:00
romanb
2b8091e80c
[2.0] Code review with comments and small corrections.
2009-05-30 09:37:56 +00:00
jwage
d34a05a257
[2.0] Oracle SchemaManager tests and general refactoring of tests
2009-05-30 02:27:50 +00:00
jwage
92b395cff2
[2.0] Removing last few dependencies on 2.0
2009-05-29 15:38:46 +00:00
romanb
f4f258ede6
[2.0] Cleanup
2009-05-29 10:24:10 +00:00
romanb
f3677a5714
[2.0] Changed identifier quoting strategy to something simpler. Dropped Doctrine prefix from annotations.
2009-05-29 10:23:13 +00:00
jwage
f994680d54
[2.0] More general work on the Platform and SchemaManager classes(primarily pgsql)
2009-05-28 21:34:35 +00:00
romanb
a4e928e118
[2.0] Moved addendum library to vendor dir.
2009-05-28 21:06:24 +00:00
romanb
292e93ded4
[2.0] Formatting issues.
2009-05-28 11:39:16 +00:00
romanb
d23607910b
[2.0] Formatting issues.
2009-05-28 11:33:50 +00:00
romanb
6e760bacc0
[2.0] Formatting issues.
2009-05-28 11:30:27 +00:00
romanb
d80b95964e
[2.0] Formatting issues.
2009-05-28 11:26:08 +00:00
romanb
f01320665a
[2.0] Formatting issues.
2009-05-28 11:24:22 +00:00
romanb
05173a867e
[2.0] Formatting issues.
2009-05-28 11:19:27 +00:00
romanb
a758b56551
[2.0] Introduced SQL logging facilities. Made Type constructor private to prevent instantiation and force use of the factory method getType().
2009-05-28 11:13:12 +00:00
jwage
0ed8e7a34b
[2.0] Fixing wrong function sig
2009-05-28 02:45:51 +00:00
jwage
75e0c1ede7
[2.0] More general work on the SchemaManager and Platform classes. Making API more complete and adding sqlite and mysql test coverage.
2009-05-28 02:04:51 +00:00
jwage
746d9bc38f
[2.0] Adding listTableColumns() support for mysql.
2009-05-27 22:14:27 +00:00
jwage
7426baf53e
[2.0] General work on Platform and SchemaManager classes
2009-05-27 18:54:40 +00:00
jwage
b951056025
[2.0] Adding initial MsSql platform and tests
2009-05-26 18:14:19 +00:00
romanb
d2405ded5d
[2.0] Enhanced one-to-one self-referential association handling.
2009-05-26 15:42:54 +00:00
romanb
3135799f9e
[2.0] Fixed formatting.
2009-05-26 11:31:29 +00:00
romanb
b66d530540
[2.0] Class table inheritance updates. Started work on self-referencing associations.
2009-05-26 11:30:07 +00:00
romanb
c9cc9f1373
[2.0] Parser code review with some cleanups and comments to highlight TODOs.
2009-05-24 10:38:37 +00:00
romanb
0b9c990d98
[2.0] Intermediate checkin.
2009-05-22 21:30:44 +00:00
romanb
a421692679
[2.0] Fixed Query Cache (+testcase) and some E_STRICT errors.
2009-05-21 19:18:14 +00:00
romanb
55d70248a9
[2.0] Implemented class table inheritance (no DQL bulk UPDATE/DELETE support yet)
2009-05-21 08:53:40 +00:00
romanb
eb6c6b2d16
[2.0] Some small optimizations.
2009-05-19 16:24:17 +00:00
romanb
4f5b332d34
[2.0] Adding insert performance tests.
2009-05-19 16:11:08 +00:00
romanb
c07416ac39
[2.0] Fixing replacement of StandardEntityPersister.
2009-05-17 20:45:50 +00:00
romanb
fe599d20c6
[2.0] Intermediate commit.
2009-05-17 20:43:49 +00:00
romanb
60f6020b5f
[2.0] Intermediate commit.
2009-05-17 20:42:58 +00:00
romanb
4d13925b1c
[2.0] Some hydration and DQL parser work.
2009-05-17 19:27:12 +00:00
romanb
96ef7eca13
[2.0] More small internal perf. improvements.
2009-05-14 18:34:12 +00:00
romanb
eea4391598
[2.0] Started adding performance regression tests. More object hydration performance improvements.
2009-05-14 14:57:08 +00:00
romanb
e79c45f9ac
[2.0] Fixed issues discovered during code coverage report generation. Made all ClassMetadata properties public (good reasons, read the class docblock). Performance improvements.
2009-05-14 10:03:09 +00:00
romanb
8d9564421c
[2.0] Cleanups from last commit.
2009-05-13 15:32:17 +00:00
romanb
33dbf8368b
[2.0] Removed deprecated class.
2009-05-13 15:20:18 +00:00
romanb
ecd30bc242
[2.0] Started to implement proxy object handling. Introduced a configuration switch for partial objects (allowPartialObjects) that defaults to TRUE. Setting to FALSE enables proxying and lazy-loading.
2009-05-13 15:19:27 +00:00
romanb
e0488ff8fc
[2.0] First draft of EntityManager#merge(). First draft of DynamicProxyGenerator.
2009-05-11 10:43:27 +00:00
romanb
1da8f672ce
[2.0] Cleanup from previous commit.
2009-05-07 17:57:00 +00:00
romanb
0a81ae773d
[2.0] Ensuring that PersistentCollection instances that are injected by Doctrine can be transparently serialized.
2009-05-07 17:56:09 +00:00
romanb
cfae81e11a
[2.0] Fixed hydration for bi-directional many-many associations.
2009-05-07 16:36:27 +00:00
romanb
00c44b7c41
[2.0] Implemented many-to-many SQL join construction, small test included.
2009-05-07 13:54:01 +00:00
romanb
96f4d511e8
[2.0] Improved changeset detection.
2009-05-05 18:39:25 +00:00
romanb
a6d9236ef2
[2.0] Fixes and enhancements to sequence generators. Test suite now runs & passes against postgres. Other minor, unrelated cleanups.
2009-05-05 17:20:55 +00:00
romanb
16c4efccd8
[2.0] DBAL streamlining and starting to increase test coverage.
2009-05-03 18:07:57 +00:00
romanb
80de567817
[2.0] Fixed issue in changeset calculation.
2009-05-03 11:49:48 +00:00
romanb
ae7be288e1
[2.0] Work on single table inheritance with more functional tests.
2009-05-03 10:58:16 +00:00
romanb
5a00a9472c
Implemented three change tracking policys. First test for usage of NotifyPropertyChanged.
2009-04-24 21:08:59 +00:00
romanb
832f355a30
[2.0] Cleanup.
2009-04-12 19:05:22 +00:00
romanb
ee46dba332
[2.0] Moved code between Query and AbstractQuery. Added first NativeQuery implementation. Hydration work and code movements for discriminator column usage. Started implementing Single Table Inheritance.
2009-04-12 19:02:12 +00:00
romanb
67ba9661c5
[2.0] Some cleanups.
2009-04-09 18:20:35 +00:00
romanb
da1173f229
[2.0] Some cleanups.
2009-04-09 18:19:14 +00:00
romanb
523c93c2f1
[2.0] Refactored SQL query building process and hydration. Hydration should now support result sets with any number of root components. Introducing ResultSetMapping that is used by hydration instead of queryComponents. This allows mapping of arbitrary SQL queries (NativeQuery).
2009-04-09 18:12:48 +00:00
romanb
62204af804
[2.0] Ongoing work on Query/DQL implementation and tests.
2009-04-03 11:06:58 +00:00
romanb
f9a222817c
[2.0] Work on ID generators, functional tests and more.
2009-03-30 19:43:05 +00:00
romanb
2812318254
[2.0] Removed ParserResultDummy that is no longer necessary.
2009-03-28 21:00:02 +00:00
romanb
7479a0cf9b
[2.0] Starting to improve functional tests. First basic functional query tests.
2009-03-28 20:59:07 +00:00
romanb
705199e897
[2.0] Parser work. Added support for functions in SelectExpressions.
2009-03-28 17:10:41 +00:00
romanb
5ebaa6504c
[2.0] Some docs and cleanups.
2009-03-23 19:02:16 +00:00
romanb
e6dbc733c5
[2.0] Added remaining supported functions for 2.0.
2009-03-23 18:48:54 +00:00
romanb
ae5d212271
[2.0] Parser work. Added double-dispatch functionality to AST node classes for use in the SqlWalker to reduce big if/else instanceof checks and for better maintainability. Also its less error-prone in the SqlWalker because its harder to miss a conditional case. Added new extensible DQL function implementation.
2009-03-23 17:39:33 +00:00
romanb
618c1281e4
[2.0] Parser work.
2009-03-21 19:58:52 +00:00
romanb
98076e0b0d
[2.0] Parser work. Drafted logic for multi-table deletes through DQL (for Class/Concrete Table Inheritance)
2009-03-21 12:52:43 +00:00
romanb
d833ee1464
[2.0] Parser work. Drafted logic for multi-table deletes through DQL (for Class/Concrete Table Inheritance)
2009-03-21 12:49:58 +00:00
romanb
c7dbde9f89
[2.0] Parser work.
2009-03-20 21:28:19 +00:00
romanb
89a625021a
[2.0] Refactored and reenabled Lexer tests.
2009-03-20 20:53:14 +00:00
romanb
b718cd1a63
[2.0] Parser work.
2009-03-19 12:43:48 +00:00
romanb
bffd76d704
[2.0] Parser work.
2009-03-16 22:12:38 +00:00
romanb
bc379103c3
[2.0] Some more parser work.
2009-03-14 21:19:50 +00:00
romanb
c4e22ba87a
Merged tokens into lexer.
2009-03-14 10:34:40 +00:00
romanb
5b4564109e
Merged tokens into lexer.
2009-03-14 10:30:47 +00:00
romanb
22de495e19
[2.0] Cleaned up old Production/Parser classes.
2009-03-14 09:05:52 +00:00
jwage
d458197e3a
[2.0] Another step towards finishing namespace refactoring
2009-02-20 05:46:20 +00:00
jwage
43b6791919
[2.0] More replacing of old style of exceptions to intermediate step
2009-02-19 07:07:44 +00:00
jwage
5582f07b53
[2.0] Intermediate refactoring for new exception handling
2009-02-19 07:00:54 +00:00
romanb
62779913c8
Started to reenable query language recognition tests.
2009-02-18 10:39:51 +00:00
jwage
4b43a8c267
[2.0] Removing index, fk and table name formatting from DBAL configuration class
2009-02-17 23:26:46 +00:00
jwage
9dfab03ee0
[2.0] Small changes to ClassLoader and add basic unit test for it
2009-02-17 22:30:13 +00:00
jwage
554adc32a4
[2.0] Testing Collection base class and removing some code
2009-02-17 21:18:13 +00:00
jwage
15beb5e43b
[2.0] Removing Doctrine.php and removing references to some remaining Doctrine constants
2009-02-17 20:15:04 +00:00
romanb
87fd08e427
[2.0] Some fixes for ClassExporterTest.
2009-02-17 12:25:03 +00:00
romanb
32d43c365f
Removed 'name' attribute from EntityManager since it's not needed.
2009-02-17 11:02:11 +00:00
romanb
2ef81cf2a9
[2.0] Various small changes and enabling the collection tests.
2009-02-17 10:54:18 +00:00
jwage
c67c8eac87
[2.0] Initial entry of YAML schema meta data driver and sandbox. A few other misc. fixes as well.
2009-02-17 08:01:34 +00:00
jwage
4dc5a4baf5
[2.0] Removing unused code and committing a little 2.0 documentation
2009-02-17 02:43:40 +00:00
jwage
45079a1e98
[2.0] Refactoring ClassExporter to allow the getting of the generated sql as well as executing it
2009-02-17 01:54:11 +00:00
jwage
438d970f40
[2.0] More removing of old code
2009-02-15 00:27:20 +00:00
jwage
d0c34ee7d1
[2.0] Removing old unused code and directories.
2009-02-15 00:08:24 +00:00
romanb
9dcab5ee63
Small reorganizations, improvements and progress.
2009-02-07 17:02:13 +00:00
romanb
2eb4a16dd4
[2.0] More progress on the UnitOfWork and collections. First basic functional many-many test.
2009-02-06 17:16:39 +00:00
romanb
deb095f2c8
Some cleanups, docblocks, and a small needed refactoring of ClassMetadataFactory.
2009-02-05 17:34:44 +00:00
romanb
efb733d7df
[2.0] Refactored cache drivers. Made use of ArrayCache as the metadata cache during a test suite run.
2009-02-04 18:03:05 +00:00
romanb
886c961108
[2.0] Continued work on association mappings and class exporting (DDL generation). Fixed #1863 .
2009-02-04 16:35:36 +00:00
romanb
e202cb1ce1
[2.0] Progress on UnitOfWork, persisters and basic functional tests.
2009-02-02 11:55:50 +00:00
romanb
36763dadb6
A little progress on the UnitOfWork.
2009-01-29 17:00:44 +00:00
romanb
0ac97e7adf
[2.0] Making use of new constant __DIR__
2009-01-24 16:56:44 +00:00
romanb
9a55035883
[2.0] Some cleanup for previous commit.
2009-01-22 19:50:55 +00:00
romanb
22e94ac594
Enabling namespaces. Final restructurings.
2009-01-22 19:38:10 +00:00
romanb
4ab2ba7dcb
[2.0] More progress on the DQL parser. Added glimpse() method for the scanner/lexer that is equivalent to peek() immediately followed by resetPeek().
2009-01-21 18:25:05 +00:00
romanb
3f60b8b5b5
More DQL parser work. First basic WHERE conditions. Changed scanner according to new positional parameter syntax (?<number>)
2009-01-20 17:07:07 +00:00
romanb
663a7415f8
minor changes
2009-01-19 21:16:46 +00:00
romanb
602c6d973e
DQL Parser work. Getting some first tests back running. Reorganizing all parser rules into the Parser itself.
2009-01-19 18:40:12 +00:00
guilhermeblanco
f0a302ec8d
[2.0] Implementation of StateField grammar rule. Updated SelectExpression AST node
2009-01-16 11:22:36 +00:00
guilhermeblanco
1ed287635a
[2.0] More implementation under ORM/Query
2009-01-15 16:10:22 +00:00
romanb
dd1afc7e7c
hydrator cleanup and 2 new methods for ClassMetadata
2009-01-15 13:30:44 +00:00
guilhermeblanco
4e62d4a98b
More refactorings under DQL Parser/AST classes.
...
Implemented new classes. Fixed a couple of issues around the road.
2009-01-15 03:26:42 +00:00
guilhermeblanco
f83f5c3c89
[2.0] Code reorganization, preparing for battle.
...
Fixes Strict error on EntityPersisterMock.
2009-01-14 04:59:35 +00:00
romanb
60fb69dd03
First commit of new extensible hydrator structure. Cleanup to follow.
2009-01-13 21:56:43 +00:00
romanb
34f4ee71fa
First tests for basic collection implementation. First experimental use of closures (Currently commented out, because the svn server makes a syntax check against 5.2.x).
2009-01-12 13:34:41 +00:00
romanb
73ad0ac454
more tests and first basic update/delete
2009-01-09 16:25:06 +00:00
romanb
b6e385d243
fixed regression
2009-01-08 11:23:24 +00:00
romanb
d97336373d
Finally first, very basic, running CRUD tests for Doctrine 2
2009-01-07 17:46:02 +00:00
romanb
1f6676f1d9
cache driver corrections
2009-01-06 21:47:29 +00:00
romanb
7363fc3ec0
More ClassMetadataFactory tests
2009-01-06 18:30:51 +00:00
romanb
c2ab01bf7e
Added first ClassMetadataFactory tests.
2009-01-06 17:22:23 +00:00
romanb
957a6b2c89
added missing annotation driver class. small refactorings. added first ClassMetadata serialization tests.
2009-01-05 20:18:56 +00:00
romanb
bcf0110249
replaced code driver with annotation driver using addendum.
2009-01-05 17:25:56 +00:00
romanb
efaaf83e17
test and collection cleanup
2009-01-04 16:15:32 +00:00
romanb
2395888feb
General work. Now using spl_object_hash.
2009-01-03 19:50:13 +00:00
romanb
6be6f40e84
Splitting DBAL/ORM configuration.
2008-12-18 14:21:21 +00:00
romanb
9971057076
moving towards transparent persistence.
2008-12-18 14:08:11 +00:00
guilhermeblanco
2aea62a498
[1.0, 1.1, 2.0] fixes #1599 Thanks for the report!
2008-10-23 03:43:36 +00:00
guilhermeblanco
3086835fe8
Second part of commit, including the Doctrine/ORM/Query namespace.
2008-09-23 02:47:11 +00:00
guilhermeblanco
178f3fe5bb
[2.0] Moved Doctrine_Query to definite namespace Doctrine_ORM_Query.
...
Fixed paths that were referring wrong namespace resolution.
Implemented more Parser and AST classes: JoinVariableDeclaration and Join.
Fixed wrong semantical checks of IndexBy grammar rule. They should be in IdentificationVariableDeclaration and JoinVariableDeclaration.
2008-09-23 02:45:02 +00:00
romanb
2aa542841f
minor tweak to get tiny perf. improvement
2008-09-13 20:29:44 +00:00
romanb
8615e8e90e
minor refactoring
2008-09-13 20:12:08 +00:00
romanb
6db507c465
Some array/object related fixes to hydration
2008-09-13 20:06:49 +00:00
romanb
580f21c41c
more cleanups. introducing ClassLoader.
2008-09-13 12:40:17 +00:00
romanb
76abfb84fb
removed some more legacy
2008-09-13 10:36:58 +00:00
romanb
e2a0e189fa
minor refactorings on code and API docs
2008-09-13 10:28:29 +00:00
romanb
d4e554fb44
moved classmetadata & co
2008-09-12 17:39:39 +00:00
romanb
c3ad955912
further cleanups
2008-09-12 17:25:38 +00:00
romanb
70c96548fd
moved entitymanager and entityrepository
2008-09-12 13:16:05 +00:00
romanb
e64e33494a
added base exception
2008-09-12 13:08:01 +00:00
romanb
0223d7a454
moved Collection
2008-09-12 13:07:08 +00:00
romanb
34c830e309
moved Collection
2008-09-12 12:34:46 +00:00
romanb
c24ecd7bcf
moved nativequery
2008-09-12 12:28:36 +00:00
romanb
77fefcbd8f
moved mappingexception
2008-09-12 12:27:15 +00:00
romanb
b8fb0fd80a
moved connectionfactory. removed old adapters.
2008-09-12 12:25:56 +00:00
romanb
b56d8da678
deleting Abstract_old
2008-09-12 12:17:31 +00:00
romanb
be14e7d8a0
moved ActiveEntity
2008-09-12 12:15:52 +00:00
romanb
9d6e778a80
further cleanup in configuration
2008-09-12 12:14:14 +00:00
romanb
a502b130cf
removed orm dependency from Common::Configuration
2008-09-12 12:11:59 +00:00
romanb
b140ea7163
improved _isDoctrineEntity check
2008-09-12 12:04:25 +00:00
romanb
90047298c5
removed old files
2008-09-12 11:01:59 +00:00
romanb
8c06f2127a
2008-09-12 11:00:26 +00:00
romanb
aea6a947c8
moved configuration
2008-09-12 10:58:33 +00:00
romanb
b6642e2dce
moved event stuff
2008-09-12 10:55:06 +00:00
romanb
0ef216a9b5
moved more files to TODO
2008-09-12 10:50:20 +00:00
romanb
18ec38eef7
moved Entity
2008-09-12 10:40:23 +00:00
romanb
9c11c36bb3
moving files to TODO
2008-09-12 10:21:20 +00:00
romanb
6b87c1fd06
moved schema management
2008-09-12 10:17:13 +00:00
romanb
4f380c4eca
moved pessimistic locking to TODO
2008-09-12 10:08:06 +00:00
romanb
179b0daac2
moved commitordercalculator/node
2008-09-12 10:06:42 +00:00
romanb
d05522258a
moved id generators
2008-09-12 10:02:06 +00:00
romanb
43e35d3bfd
moved hydration stuff
2008-09-12 09:58:02 +00:00
romanb
bfff430ea9
moved orm import
2008-09-12 09:46:55 +00:00
romanb
ae634eced1
moved ORM export
2008-09-12 09:45:56 +00:00
romanb
169aa63402
moved entitypersisters
2008-09-12 09:44:51 +00:00
romanb
70406665ad
moved collection persisters
2008-09-12 09:39:43 +00:00
romanb
d495a33ab3
2008-09-12 09:37:22 +00:00
romanb
93b2cb0a58
moved entity/entitymanager exceptions
2008-09-12 09:37:05 +00:00
romanb
e69034fc25
moved Cache
2008-09-12 09:28:18 +00:00
romanb
c6117f5ea4
2008-09-12 09:27:03 +00:00
romanb
f1adfe7c2e
Moved association mappings.
2008-09-12 09:26:43 +00:00
romanb
81298f969f
new TODO namespace
2008-09-12 09:19:25 +00:00
romanb
700acb259e
Moved undecided/unclear items into TODO
2008-09-12 09:18:47 +00:00
romanb
f556ee8c44
moved Null/Type/Platform
2008-09-12 08:59:44 +00:00
romanb
4d7b8838cc
Intermediate checkin. Refactoring towards namespaced structure.
2008-09-12 08:51:56 +00:00
guilhermeblanco
ad4db34a87
Fixes in unit tests.
...
Started refactoring in DQL parser to separate Production into Parser and AST classes.
Finished first tests. Currently only 4 are active in IdentifierRecognitionTest, and only 2 are passing.
2008-09-12 06:09:16 +00:00
romanb
4b191a3141
Reverted deletion of old Manager.php. Still needed for new tests.
2008-09-07 16:36:17 +00:00
romanb
5bc3d0067f
cleanup
2008-09-07 13:58:15 +00:00
romanb
7d48c785f6
cleanup
2008-09-07 13:48:40 +00:00
romanb
b5401ee1c5
checkin of occasional work from the past weeks.
2008-08-31 18:27:16 +00:00
subzero2000
9c1c82cab9
Ensure unique queries are generated when generating SQL for exporting schema to database.
2008-08-25 19:11:58 +00:00
romanb
4661231c64
Minor updates
2008-08-24 19:27:24 +00:00
romanb
73985fe62a
added mapping check to onetomany. corrected test models.
2008-08-22 09:37:03 +00:00
romanb
0f8e9e0ba9
refactorings. made basic one-one, one-many joins work.
2008-08-22 09:05:14 +00:00
guilhermeblanco
efca79412d
DQL Parser refactorings and enhancements. Finished basic drat of Join support.
2008-08-21 20:45:19 +00:00
romanb
d8b76a54d0
continued refactorings.
2008-08-16 19:40:59 +00:00
romanb
3e20fc6aba
refactoring.
2008-08-09 09:45:28 +00:00
romanb
3cd4fc5542
Intermediate checkin.
2008-08-02 17:41:37 +00:00
romanb
e704cd0fd2
Continued refactorings. Started to refactor the DBAL layer.
2008-08-01 18:46:14 +00:00
romanb
a769997450
2008-07-27 19:38:56 +00:00
pookey
d17a68a407
adding a newline.
2008-07-21 21:52:08 +00:00
romanb
d9975c36a3
Checkin of occasional work from the past weeks.
2008-07-20 20:13:24 +00:00
romanb
c43f9588be
Cleanups, improvements, fixes.
2008-07-11 10:48:04 +00:00
romanb
3cd7b95424
Refactorings. Merged hydrator fixes from 0.11/1.0
2008-07-10 17:17:58 +00:00
romanb
4d752746fe
The usual 2.0 refactoring/implementation commit.
2008-07-04 16:32:19 +00:00
gnat
51f957bcba
set a limit on fetchOne queries
2008-07-01 05:57:19 +00:00
romanb
35fa81dbab
Removed static EntityManager lookup from productions. Entity refactorings.
2008-06-16 18:31:21 +00:00
romanb
7206b1dd51
Added getters to AST. Removed Production::__call. Added visitor support to AST. (guilherme: dont shoot me yet :-). visitor support doesnt hurt even if we do not use it for SQL generation). Lots of other things.
2008-06-15 15:56:28 +00:00
guilhermeblanco
24ca13980f
Cosmetics changes in EventManager, renamed the registerEventListener to addEventListener, optimized the source and changed the arguments order. Commented an echo line in RangeVariableDeclaration
2008-06-08 16:42:55 +00:00
romanb
ad2443057e
Refactorings and initial commit/draft of new event handling / configuration / bootstrapping. Still need to remove all the static EntityManagerFactory::getManager lookup calls from the Production classes. The production classes need to have access to the EntityManager of the Query that constructed the Parser. It should be injected into the Parser during construction.
2008-06-05 19:01:58 +00:00
guilhermeblanco
d8d761b593
Fixes in ParserResult, which was generating a bad table alias. Added more test cases. Commented new Event system call in EntityManager. Fixes in RangeVariableDeclaration.
2008-06-02 15:00:50 +00:00
zYne
6f1d5723e7
added class doc blocks
2008-06-02 11:46:55 +00:00
zYne
a4acccf6f1
fixed some doc blocks
2008-06-02 11:45:12 +00:00
zYne
88336e8774
2008-06-02 11:35:34 +00:00
romanb
ec5bb2ea3f
some minor refactorings. started to make a draft of the new namespaced folder structure.
2008-05-30 12:09:24 +00:00
guilhermeblanco
4ea5c8b0a2
SelectExpression rewrite to support dctrn queryComponent. Fixes in DQL. Added more test cases
2008-05-28 06:01:04 +00:00
guilhermeblanco
dfbc7c1cff
Changed Doctrine_Query to accept a Doctrine_EntityManager instead of a Doctrine_Connection. Updated Doctrine_EntityManager. Updated test cases and included one new passing test case for SELECT generation. Fixed whitespace bug in DELETE and UPDATE statements.
2008-05-27 04:52:50 +00:00
guilhermeblanco
bc236c59da
Finished first parts of SELECT support. Two test cases added and passing. Introduced the concept of DCTRN in queryComponent. Added concept of queryField, which validates for already defined fields in SELECT.
2008-05-27 03:44:08 +00:00
romanb
f9938ea6fd
custom/magic accessors + test
2008-05-25 20:57:32 +00:00
zYne
2429605fbd
fixed formatting
2008-05-25 20:33:41 +00:00
zYne
c1b0ea8a73
formatting fix
2008-05-25 20:10:41 +00:00
guilhermeblanco
089a416689
Added more semantical checks. Fixed some tests.
2008-05-24 22:04:14 +00:00
romanb
d323b16ff5
cleanups
2008-05-24 21:32:21 +00:00
romanb
a1128669a9
cleanups
2008-05-24 21:29:01 +00:00
romanb
7407fefee2
Fix for new tests.
2008-05-24 19:56:35 +00:00
guilhermeblanco
21e0bd3ded
More fixes for tests
2008-05-24 19:37:02 +00:00
romanb
539853d5e4
refactorings
2008-05-24 19:11:33 +00:00
guilhermeblanco
4e99dcb51f
Fixes for test case in DQL
2008-05-24 18:51:47 +00:00
romanb
0ad6aee389
Merged DQL parser branch to trunk.
2008-05-24 18:18:37 +00:00
romanb
7b711ae70e
refactorings. merged hydration bugfix from 0.11.
2008-05-24 17:10:45 +00:00
romanb
74ce82bd50
Initial HYDRATE_SINGLE_SCALAR implementation & test.
2008-05-18 16:21:55 +00:00
romanb
d0ea5705d0
Initial support for scalar hydration (HYDRATE_SCALAR). EntityPersisters born.
2008-05-17 20:04:56 +00:00
romanb
613d08f9ca
Merged dbal bugfixes from 0.11.
2008-05-17 12:22:24 +00:00
romanb
7ffd4140cd
Doctrine_Record renamed. Hydration refactored. Other refactorings.
2008-05-13 21:20:34 +00:00
romanb
ad0d24ff57
Fixed #1023 . Thanks for ticket & patch.
2008-05-08 21:04:34 +00:00
romanb
0dd856784c
Continued work on new hydration.
2008-05-08 14:17:35 +00:00
romanb
f92773fa1c
Added another hydration test.
2008-05-06 21:03:31 +00:00
romanb
ab65ad5b4d
Refactorings. Started with new hydrator for 2.0.
2008-05-06 13:41:22 +00:00
romanb
ff11220961
minor refactorings & cleanups.
2008-05-01 09:50:23 +00:00
romanb
24872ef65f
Merged all identity maps into one in the unitofwork. identity map now properly works with hierarchies.
2008-05-01 09:41:47 +00:00
romanb
274be06c1b
Fixed #969 .
2008-04-17 11:07:00 +00:00
romanb
0370cedc08
Fixed #966 .
2008-04-15 22:19:22 +00:00
romanb
234253edd1
Perf. improvement on hydrating joined resultsets, part 2.
2008-04-12 20:24:28 +00:00
romanb
3d8a37b2b4
Refactorings along with a speed improvement on the Hydrator when processing joined resultsets. Other minor tweaks.
2008-04-12 20:11:11 +00:00
guilhermeblanco
42ec3c949c
Merged r4208 into trunk and jepso branch
2008-04-09 14:31:25 +00:00
romanb
78492f3c9a
Ported fix for #929 from 0.10 to trunk. Testcase needs to be ported later since the behavior implementation is not useable in trunk atm.
2008-04-05 07:35:57 +00:00
Ezku
2d68239681
Fixed sqlite dsn in Doctrine_Manager::parseDsn()
2008-03-28 16:25:32 +00:00
romanb
0d67fcaf6d
merged fix for #912 from 0.10 to trunk (turned out it was not broken in trunk but i merged the patch & testcase anyway. Other refactorings.
2008-03-26 11:10:45 +00:00
romanb
33c76f620e
refactorings
2008-03-23 11:30:29 +00:00
romanb
7a1beb5b26
Merged fix for #899 from 0.10 to trunk.
2008-03-22 19:41:29 +00:00
romanb
2f1badc7fd
Merged fix for #852 from 0.10 to trunk.
2008-03-21 13:32:10 +00:00
romanb
45d41f1c9b
merged fix for #873 from 0.10
2008-03-20 15:17:01 +00:00
romanb
223daae2ec
added xsl stylesheet to generate changelogs from svn log. merged a few patches from 0.10
2008-03-19 18:33:14 +00:00
romanb
71ed924213
refactorings
2008-03-17 13:26:34 +00:00