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

114 Commits

Author SHA1 Message Date
Benjamin Eberlei
fe672d2f61 DDC-617 - Throw error if selecting identification variables without picking at least one root entity alias. 2010-12-28 10:17:33 +01:00
Benjamin Eberlei
5e788a0b84 DDC-915 - Bugfix in Identification Variable reordering in combination with SQL Walkers. 2010-12-08 23:42:02 +01:00
Benjamin Eberlei
d3d3032759 DDC-736 - Simplified patch and extended test to verify scalar results are still in order. 2010-11-13 09:52:35 +01:00
Benjamin Eberlei
e4280cf82e DDC-736 - Fix ordering of identification variables in DQL parser to be by specification. 2010-11-11 21:12:09 +01:00
Roman S. Borschel
d0717ee458 Fixed typo and simplified method as mentioned in an earlier comment. 2010-08-24 17:17:58 +02:00
Guilherme Blanco
496a34a4d2 [DDC-581] Implemented support to SingleValuedPathExpression to InExpression. 2010-08-12 00:16:07 -03:00
Guilherme Blanco
84b9eda17c [DDC-680] Implemented support to complex mathematical expression in subselect part aswell as improved support of comparison expressions. 2010-08-11 23:12:44 -03:00
Roman S. Borschel
8d3e0e61ea Moved association mappings to plain arrays, just like field mappings. 2010-08-09 22:48:07 +02:00
Roman S. Borschel
0424d87099 [DDC-386][DDC-675] Fixed. 2010-08-08 15:03:40 +02:00
Guilherme Blanco
c1fec32f58 [2.0][DDC-482] Added support to INSTANCE OF in DQL. 2010-07-30 01:30:02 -03:00
Guilherme Blanco
d50b3c42e2 [DDC-619] Removed support to complex PathExpressions. 2010-07-23 01:55:33 -03:00
Roman S. Borschel
e7ac35ed95 [DDC-119] Fixed. 2010-07-15 15:55:45 +02:00
Roman S. Borschel
a1c13b58d3 Fixed behavior of PersistentCollection#clear(). Fixed single-valued association path expression support in DQL UpdateItems. 2010-07-08 17:30:39 +02:00
Benjamin Eberlei
c1091485b0 DDC-618 - Bugfix INDEX BY was not yet implemented in SqlWalker 2010-06-29 00:06:19 +02:00
Roman S. Borschel
a45560dbd0 [DDC-505] Fixed and small lexer simplifcations that were marked as todo. 2010-05-18 22:19:08 +02:00
Guilherme Blanco
50f3435e84 Optimized Query AST resultant of the parsing process phase 1 2010-04-29 22:15:36 -03:00
Guilherme Blanco
841008c461 [2.0] Coding Standards fixes, added missing docblocks, removed some dependencies from Common package (in Annotations component), etc. 2010-04-23 00:51:32 -03:00
Roman S. Borschel
4b39705cd4 Fixed case-sensitivity of custom DQL functions. 2010-04-15 20:14:03 +02:00
Roman S. Borschel
01c2c06bbf [DDC-512] Fixed. 2010-04-15 18:36:17 +02:00
Guilherme Blanco
955dc09cb9 [2.0] Optimized support to IdentificationVariable in ArithmeticPrimary 2010-04-14 22:03:29 -03:00
Guilherme Blanco
889094709e [2.0] Added support to IdentificationVariable that was missing in ArithmeticPrimary (it was not correctly handling it). Uncommented a unit test that added coverage to it. 2010-04-14 00:04:44 -03:00
romanb
354ede1e04 [2.0][DDC-354][DDC-425] Fixed. Encapsulated SQL logging better in the DBAL. Added binding types to DBAL mapping types as well as using these binding types in the persisters. Query and NativeQuery now support PDO binding types as well as DBAL mapping types when binding parameters. 2010-03-29 13:20:41 +00:00
guilhermeblanco
34cbb8af24 [2.0] Fixed issue with DQL that was not considering input parameter 10. Also added support to retrieve the generated AST. 2010-03-16 19:21:59 +00:00
guilhermeblanco
29e5141280 [2.0] Reverted r7392 which generates broken SQL query. 2010-03-16 16:32:30 +00:00
guilhermeblanco
bb94f6ea7c [2.0] Fixed support to ResultVariable usage in ArithmeticExpression. 2010-03-16 15:02:43 +00:00
guilhermeblanco
0fde94ddcf [2.0] Fixed custom functions support that was failing to be processed. Also fixed syntax error of Function support. 2010-03-16 14:01:54 +00:00
romanb
a53c2fbd6c [2.0] Code cleanups. Preparations for DDC-193. Fixed DDC-399, type configuration remains global for now but the irritating instance methods on the Configuration have been removed. Use Type::addType et al. Added TODOs for naming standards. 2010-03-15 17:19:00 +00:00
beberlei
64077ac65f [2.0] Add missing Query::HINT_CUSTOM_OUTPUT_WALKER - it wasn't possible to change the output walker before without extending and overwriting one large method in Query 2010-03-06 09:52:48 +00:00
romanb
df6ca602fb [2.0][DDC-92] Fixed. Patch provided by Christian Heinrich. [DDC-274] Started some method renaming. [DDC-142] Fixed (join column names and discriminator column names dont support quoting) [DDC-258] Fixed. 2010-03-05 16:35:00 +00:00
guilhermeblanco
4ac39f0cbd [2.0][DDC-379][DDC-384] Implemented Entity namespace alias support. 2010-03-03 01:30:00 +00:00
guilhermeblanco
a56689be67 [2.0] Reverted wrong changeset of commit related to 7246 2010-03-01 04:23:23 +00:00
guilhermeblanco
fc5960c489 [2.0][DDC-265] Partial support to inheritanceType in AnnotationExporter. Still needs to add the discriminator column. 2010-03-01 04:03:44 +00:00
jwage
7c81b0b003 [2.0] Adding support for entity aliases in the query language 2010-02-26 18:11:53 +00:00
romanb
22fce635c0 [2.0][DDC-339][DDC-340] Fixed. 2010-02-20 18:27:05 +00:00
romanb
639718e95c [2.0][DDC-335][DDC-347][DDC-317] Fixed. Also prepared DQL for CASE/COALESCE/NULLIF support. 2010-02-19 21:28:17 +00:00
beberlei
da2c329e60 [2.0] Fix casing bug in Parser - IfFunction checks lower-case the function name, but register methods don't. 2010-02-07 22:55:26 +00:00
guilhermeblanco
ae4f823f26 [2.0] Added support to complex PathExpression in DQL queries 2009-12-31 22:53:20 +00:00
guilhermeblanco
d8ed3387c2 [2.0] Added support to complex PathExpression in DQL queries 2009-12-31 22:51:02 +00:00
guilhermeblanco
2195894ad3 [2.0] Added support to complex PathExpression in DQL queries 2009-12-31 22:50:44 +00:00
guilhermeblanco
3928ba9dac [2.0] Added support to complex PathExpression in DQL queries 2009-12-31 22:48:51 +00:00
guilhermeblanco
262855a66c [2.0] Refactorings in DQL parser to allow more granular enhancements scheduled for later versions. Fixed issues with missing validations of invalid ResultVariable, Unknown query components and Re-declaration of query compoenents. 2009-12-27 03:26:15 +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
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
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
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
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