more mdd validation & functions
9 lines of code changed in 2 files:
updating toString()
1 lines of code changed in 1 file:
enabling validation definition in sub-fields
74 lines of code changed in 1 file:
changing method signature
4 lines of code changed in 2 files:
adding some more functions, formatting
48 lines of code changed in 1 file:
using again uncompressed version for better debugging purposes
1 lines of code changed in 1 file:
simplifying code a bit
24 lines of code changed in 1 file:
Printing meaningful stacktrace when query execution fails
23 lines of code changed in 2 files:
my latest changes
3 lines of code changed in 1 file:
we don't transform JSP orderby and groupby expressions in select expressions any longer, because the ComposedQuery code for that is very limited and does not allow for complex expressions, subqueries, etc. pages seem to work without it anyway
1 lines of code changed in 1 file:
little fix, so "" orderby's don't lead to an orderby being added to query
2 lines of code changed in 1 file:
mql-oql comparison is looking for automaticLeftJoin differences only for non-JSP queries
8 lines of code changed in 2 files:
automatic left join by default
2 lines of code changed in 2 files:
optimization of pointer selects in subqueries
7 lines of code changed in 1 file:
a little fix
1 lines of code changed in 1 file:
automatic left join, turned off for now
14 lines of code changed in 6 files:
some aggregation tests
103 lines of code changed in 3 files:
test for select distinct
45 lines of code changed in 3 files:
proving the distinct qualifier, it's a bit different from OQL
1 lines of code changed in 1 file:
test distinct feature
15 lines of code changed in 1 file:
better parameter type guessing
62 lines of code changed in 7 files:
better debug, with actual parameter values
1 lines of code changed in 1 file:
making field public
3 lines of code changed in 1 file:
making new release
2 lines of code changed in 1 file:
fixing bug when there is another field after a binary input
1 lines of code changed in 1 file:
fixed a potential NPE
1 lines of code changed in 1 file:
fix for search forms where criterion tags have no match mode - use a default match mode
42 lines of code changed in 4 files:
improving error message by clearly marking what is the given value
1 lines of code changed in 1 file:
fixing some generics
2 lines of code changed in 1 file:
fix for pagination with group by, fixing some generics
43 lines of code changed in 2 files:
fixed tests, added second test for pagination
278 lines of code changed in 5 files:
adding missing year operator to OQL (kind of obsolete, but well :-))
3 lines of code changed in 2 files:
fixing generic warnings
2 lines of code changed in 1 file:
making more robust
15 lines of code changed in 3 files:
adding a FIXME
1 lines of code changed in 1 file:
parse error locations
37 lines of code changed in 5 files:
simpler and better parse error handling
49 lines of code changed in 2 files:
better recovery
2 lines of code changed in 1 file:
some more guards for error recovery
4 lines of code changed in 2 files:
removed double message from query errors
1 lines of code changed in 1 file:
removing reference to hibernate
0 lines of code changed in 1 file:
more generic
2 lines of code changed in 1 file:
fixed bug
3 lines of code changed in 1 file:
more documentation
8 lines of code changed in 3 files:
removed unused printers
0 lines of code changed in 1 file:
adapted the HQL pass 1 parser from Hibernate so mql can run without hibernate.jar. kept original files for reference
2683 lines of code changed in 19 files:
removed a hibernate dependency that made it impossible to run makumba without hibernate.jar
9 lines of code changed in 1 file:
query analysis does not need parameter rewrite
6 lines of code changed in 1 file:
less warnings
1 lines of code changed in 1 file:
allowing null parameters read from attributes
7 lines of code changed in 2 files:
fixed bug with query correlation
6 lines of code changed in 1 file:
avoiding a NPE
3 lines of code changed in 1 file:
type analysis fix for $param IN subquery
type analysis fix for CASE-WHEN (which was previously untested)
33 lines of code changed in 2 files:
optionally accepting :paramers, this is configurable in localhost_engine_dbname.properties
4 lines of code changed in 1 file:
added latest changes
3 lines of code changed in 1 file:
optionally accepting :paramers, this is configurable in localhost_engine_dbname.properties
14 lines of code changed in 3 files:
removed $name -> $numer replacing, as that's done by the database layer anyway
13 lines of code changed in 2 files:
turning optimization on and off
not printing "label not used" warning for analysis queries
using setTextList instead of direct field access
5 lines of code changed in 1 file:
turning join optimization on and off for better oql-mql comparison
19 lines of code changed in 4 files:
fixed bug, renamed textList, made private
8 lines of code changed in 2 files:
support for elements(), maxelement(), minelement() (useful with setintEnum) and size()
34 lines of code changed in 1 file:
accept multiple projections to a subquery, in which case the type is the first projection. not so good but easier
better operand checking
4 lines of code changed in 1 file:
support for subqueries without SELECT (the declared labels are selected)
31 lines of code changed in 2 files:
optimization of the joins
if you have a query like
SELECT x FROM Type t JOIN t.a.b.c x
OQL joins also the table of x (t.a.b.c) . But if no field of x is selected
(only the primary key), the primary key is available in the table of t.a.b,
hence the "last" table doesn't need to be joined.
I learned this optimization by looking at Hibernate-generated SQL :)
Also in the process I found that there are quite many unused labels (they
appear in FROM but are never used in WHERE, SELECT, etc). Those are not joined
any longer. A warning is issued.
108 lines of code changed in 4 files:
POC queries, demonstrate subqueries
line numbers are the same as in
http://bugs.best.eu.org/cgi-bin/bugzilla/attachment.cgi?id=74
http://bugs.best.eu.org/cgi-bin/bugzilla/attachment.cgi?id=75
3 lines of code changed in 1 file:
better error handling and reporting
18 lines of code changed in 3 files:
better date comparison
better printing of type information for pointers (maybe should be moved in FieldDefinition)
12 lines of code changed in 1 file:
more robust...
10 lines of code changed in 1 file:
formatted source
78 lines of code changed in 2 files:
added SOME
3 lines of code changed in 2 files:
latest
4 lines of code changed in 1 file:
support for any and all
4 lines of code changed in 1 file:
better oql-mql comparison
8 lines of code changed in 1 file:
check whether AS identifiers are used outside ORDERBY or GROUPBY
41 lines of code changed in 2 files:
support for correlated subqueries
104 lines of code changed in 2 files:
removed possibility of comparing intEnum to ''
26 lines of code changed in 1 file:
updated change-log for new release
1 lines of code changed in 1 file:
changelog update
5 lines of code changed in 1 file:
better documentation of what is left to be done here, this is quite important for performance
5 lines of code changed in 1 file:
oh gosh! this was leading to empty uploads in the database... throw the damn error further babe...
1 lines of code changed in 1 file:
avoiding using Text.toString(), using getString() wherever we know about it.
this is done in preparation to change Text.toString() to something more meaningful and less memory-intensive
20 lines of code changed in 8 files:
using short Text debug method
20 lines of code changed in 2 files:
added reasonable debug method, and an explicit getString(), hopefully toString may be rewritten to not allocate the whole large file. formatted source
191 lines of code changed in 1 file:
fixed huge memory issue: for a large file, item.get() allocates a byte[] as large as the file... using stream instead
added a TODO, as the current code swaps the file to disk twice, with a lengthy stream copy in between.
13 lines of code changed in 1 file:
pulled up operand type checking and value assignment functionality so it can be used in MqlNode operator-related type operations
60 lines of code changed in 3 files:
added a bit more info to the error message, maybe the query should be added to the info of all RuntimeWrappedExceptions
1 lines of code changed in 1 file:
fixed small bug that was messing up internet explorer
1 lines of code changed in 1 file:
using mql by default as karamba works
3 lines of code changed in 1 file:
accepting also boolean expressions
10 lines of code changed in 1 file:
better debug info on runtime exceptions
6 lines of code changed in 1 file:
better IN (...) parameter type setting
14 lines of code changed in 1 file:
accepting empty strings on any comparison, this is probably an OQL bug
20 lines of code changed in 1 file:
accepting SELECT ... AS x ... ORDERBY x
7 lines of code changed in 3 files:
more test queries
5 lines of code changed in 1 file:
better debug
1 lines of code changed in 1 file:
inlined empty method
1 lines of code changed in 1 file:
cleaned up imports
0 lines of code changed in 1 file:
fixing calendar editors in search forms, not validating in search forms
7 lines of code changed in 2 files:
throwing programmer error, this is not an invalid value exception
5 lines of code changed in 1 file:
matchModes attribute is not compulsory, if not present set default values
23 lines of code changed in 2 files:
making tag keys more unique
25 lines of code changed in 2 files:
adapted to new JS resources, simplified form tests
10 lines of code changed in 9 files:
preventing number-format exception for integers
7 lines of code changed in 1 file:
added some stuff about libraries used by makumba
49 lines of code changed in 5 files:
adding doc for the java scripts for offline use
4511 lines of code changed in 9 files:
new versions of scripts, using compressed ones to save download
2441 lines of code changed in 11 files:
adapting expected test result
1 lines of code changed in 1 file:
test for input set editor
15 lines of code changed in 1 file:
another test for client side validation
30 lines of code changed in 1 file:
test to show form validation errors in mak:response
42 lines of code changed in 2 files:
slight fixes in input id computation
1 lines of code changed in 1 file:
updated tests
194 lines of code changed in 23 files:
slight fixes in input id computation
5 lines of code changed in 3 files:
testing not empty
2 lines of code changed in 1 file:
slight updates to form tests
13 lines of code changed in 4 files:
updated styles for tests
24 lines of code changed in 2 files:
fixing input ID computation
1 lines of code changed in 1 file:
support for set editor with two chosers
85 lines of code changed in 3 files:
link to original source
1 lines of code changed in 1 file:
small fixes for form validation
27 lines of code changed in 1 file:
small fix, putting back the field name
2 lines of code changed in 1 file:
adding style classes
4 lines of code changed in 1 file:
storing form name in format parameters
8 lines of code changed in 1 file:
fix for form identifier, storing form name in format parameters
21 lines of code changed in 3 files:
taking form identifier into account, correcting rules slightly
36 lines of code changed in 2 files:
adding not-empty field property, storing original field definition when making copies
46 lines of code changed in 3 files:
compare strings only if a value is entered
8 lines of code changed in 1 file:
formatting code
16 lines of code changed in 1 file:
making use of new JS function to reduce generated code
6 lines of code changed in 1 file:
not showing calendar editor if we do not have date inputs with all day, month and year components
9 lines of code changed in 1 file:
closing connections in a try/finally
70 lines of code changed in 1 file:
new helper function
8 lines of code changed in 1 file:
some fixes in the specs
49 lines of code changed in 1 file:
finally cracked the parameter nut
21 lines of code changed in 4 files:
support for parameter typing in IN and NOT IN
7 lines of code changed in 1 file:
avoiding a NPE
1 lines of code changed in 1 file:
current state, beginning to find out oql-mql differences in paramter naming
23 lines of code changed in 1 file:
like support
2 lines of code changed in 1 file:
testing parameter, label and projection types
55 lines of code changed in 1 file:
change of default provider due to form test failures. will change it back hopefully soon :)
2 lines of code changed in 1 file:
support for SQL functions
better error handling
96 lines of code changed in 3 files:
cleaned up a bit
10 lines of code changed in 1 file:
mql does not accept double quotes
1 lines of code changed in 1 file:
testing adapted to new MqlQueryAnalysis interface
50 lines of code changed in 2 files:
facades to mql, now the default oql parser
287 lines of code changed in 3 files:
better analysis for projections and parameters
writing in a NameResolver.TextList rather than a StringBuffer
361 lines of code changed in 7 files:
writing in a NameResolver.TextList rather than a StringBuffer
171 lines of code changed in 5 files:
made recently added code work also in hibernate
better name resolver management
8 lines of code changed in 2 files:
made recently added code work also in hibernate
5 lines of code changed in 1 file:
better name resolver management, more generic query analysis handling, fewer assumptions about the case of query keywords
34 lines of code changed in 3 files:
reduced the QueryAnalysis contract (can be reduced further), moved all mining code in the miners
80 lines of code changed in 7 files:
removed unused interface
0 lines of code changed in 1 file:
fixed a bug: the check for function(....) was not strict enough
15 lines of code changed in 1 file:
added all needed to analyze and translate expressions (incl projections)
258 lines of code changed in 6 files:
comparison with OQL, better error analysis
136 lines of code changed in 1 file:
a rather dirty trick to print aliases
5 lines of code changed in 1 file:
analysis of comparison expressions to be able to rewrite intEnums
61 lines of code changed in 1 file:
explicitly marking the few mql changes
9 lines of code changed in 2 files:
commented out queries that we know won't pass for now
3 lines of code changed in 1 file:
grammar identical to HQL's since queries analyzed here will be executed by HQL. only optionally (unlike HQL) support logical expression projections, this is needed to analyze MQL queries
35 lines of code changed in 2 files:
updated changelog for new release
4 lines of code changed in 1 file:
allow long values for int types
11 lines of code changed in 1 file:
fix if we do not have a DD enclosed, e.g. in mak:form with
1 lines of code changed in 1 file:
test for showing JSTL/mak difference in number handling
16 lines of code changed in 1 file:
adapted form responder code to take into account new field
small fix for search form output
68 lines of code changed in 24 files:
bug fix for multi-field search
added 2nd test for search form
making calendar test more robust
129 lines of code changed in 8 files: