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

152 Commits

Author SHA1 Message Date
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
26a2ec2e63 DDC-127 - Special Case with invalid input parameter in DQL leads to php notice instead of an exception. 2009-11-21 13:18:45 +00:00
romanb
3a282b1e9c [2.0][DDC-141] Fixed. 2009-11-13 10:11:14 +00:00
beberlei
93b20427c9 [2.0] Fix Tab Formating in ParserResult class, added doc-comments and fixed a missing variable initialization error for certain query special cases. 2009-11-06 17:03:59 +00:00
guilhermeblanco
4a861f08a8 [2.0] More refactorings in Annotations parser and DQL parser. Now they only use constants instead of string processment 2009-11-04 01:52:40 +00:00
guilhermeblanco
e05ec39ff3 [2.0] Moved string tokens to be constants. No more string comparisons inside parser 2009-11-03 21:42:58 +00:00
jwage
a0c9e9db8d [2.0] Fixing casing issue 2009-10-30 20:24:50 +00:00
romanb
aa72619c5d [2.0][DDC-55] Fixed. 2009-10-28 11:29:29 +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
2a16782528 [2.0][DDC-56] Fixed. 2009-10-18 20:36:02 +00:00
romanb
5842411afe [2.0][DDC-49][DDC-50][DDC-33] Fixed DDC-49 and DDC-50. Also addressed DDC-33. Various other small changes and fixes. For problems with proxy objects please refer to the updated documentation. 2009-10-15 14:39:43 +00:00
romanb
b9f744893e [2.0][DDC-42] Fixed. 2009-10-13 10:48:46 +00:00
jwage
968ebb80c2 [2.0] Bug fixes 2009-10-04 19:35:47 +00:00
romanb
320d21e2be [2.0] Refactored classloader architecture. Renamed ClassLoader => GlobalClassLoader. Introduced IsolatedClassLoader that is suitable for participating in autoload stacks. Added 2 example entity classes to the sandbox with 2 xml mappings and 2 yaml mappings. Simplified sandbox setup. 2009-09-11 19:50:48 +00:00
jwage
d10daf35f2 [2.0] Changing Expr static methods to be normal public methods (closes #2466) 2009-09-08 22:19:03 +00:00
guilhermeblanco
32d21879e9 [2.0] Added some missing headers in some classes. Added API docs for Expr class 2009-09-05 20:05:39 +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
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
guilhermeblanco
0612e6b0a6 [2.0] Removed not used class. 2009-08-20 03:34:15 +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
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
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