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

230 Commits

Author SHA1 Message Date
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
c5828271cc [2.0] More docblocks and changed exception thrown in Annotations parser 2009-08-08 23:16:13 +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