Adam Heath
1c2bc9b83b
Need to wrap the list with ().
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892699 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 06:01:24 +00:00
Adam Heath
8f2b94fc02
Switch <path id="src-path"/> to a patternset implementation. See next
...
commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892171 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 08:04:06 +00:00
Adam Heath
ec8ea7d52c
Add start of sql testing, just printing them for now.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892169 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 08:02:53 +00:00
Adam Heath
cf7ff14b33
Fix comment end parsing.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892168 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 08:02:16 +00:00
Adam Heath
df3653a24c
Remove ListValue, in preference of a more accurate object model
...
representation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892147 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 05:40:52 +00:00
Adam Heath
c4a25bfff5
Detect duplicate alias all entries.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892146 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 05:40:11 +00:00
Adam Heath
0514883e64
Excludes are now done as a Set instead of a List.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892144 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 05:39:16 +00:00
Adam Heath
9864303a74
Detect duplicate relations during parse, by making use of a map. In
...
addition, store this map for later use.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892143 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 05:38:49 +00:00
Adam Heath
e98ca66748
OrderBy is now a list of OrderByItem, instead of String, and support
...
upper and lower functions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892142 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 05:38:09 +00:00
Adam Heath
e75c3d12e2
Implements proper null support, and fix operators that have '=' in them.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884359 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 01:30:35 +00:00
Adam Heath
4e31701beb
Override appendTo.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884358 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 01:29:52 +00:00
Adam Heath
c31e3499ed
Add flags to disable joins on DELETE and UPDATE.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883138 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 20:07:29 +00:00
Adam Heath
4976cbb3da
Plans that have condition objects now store those in the abstract classes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883137 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 20:06:34 +00:00
Adam Heath
d8c232164f
Reworked, no more unchecked warnings, nor suppressions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881653 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 02:55:59 +00:00
Adam Heath
d2260d05d4
Implements all the interfaces/classes, but everything returns null
...
still.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881643 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 02:07:52 +00:00
Adam Heath
5875284963
And generic condition planning.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881192 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 08:30:46 +00:00
Adam Heath
2e3757ffc1
Convert Planner from an interface to a class.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881189 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 08:26:58 +00:00
Adam Heath
b3c5cb1724
Make most classes extends Atom, which implements Appender, and
...
toString().
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881188 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 08:24:41 +00:00
Adam Heath
04259814de
Add a helper method, reduce, for list processing.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881169 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 06:29:56 +00:00
Adam Heath
671b47bd69
Remove some unneeded imports.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881033 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 23:07:14 +00:00
Adam Heath
6b4a696e1e
Expost various properties in a standard way.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881032 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 23:06:56 +00:00
Adam Heath
60c1f7cb09
Make some more classes final.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881025 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 22:57:42 +00:00
Adam Heath
11b281c025
Bother, I should have never used the conversion framework.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@880919 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 19:30:11 +00:00
Adam Heath
91050d9263
Very large update. SQL parser is fairly generic now. Can parse sql
...
that is compatible with features used by ofbiz. Has support for
DELETE, INSERT, INSERT SELECT, SELECT, UPDATE, and VIEW.
Modified the delegator side of the above to handle the new
interfaces. Now supports complex alias. Only SELECT is supported,
and the parseCondition code is disabled for the time being.
The plan(sic) here is to obviously support the other sql statements.
Then, to have a jdbc wrapper around all this, so external tools, that
only know how to talk jdbc, can actually talk directly to the
delegator.
Plus, many more people can understand sql syntax. This allows them
to do things with ofbiz, that they would find much more difficult if
they had to write <view-entity> definitions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@880835 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 16:31:32 +00:00