-
Hi,
Please could you improve documentation arounf custom function handlers. Specifically I can't get enough info from the existing documentation to figure out how to allow a query to call a method in a custom object.
For example using Collection ConcurrentHashMap
and String sqlStatement = "Select * from xxx.Order where " +
" getData('basket') like 'AAA%' and ".
2009-12-09 10:33:58 UTC by chrismullard
-
Hi,
JoSQL just uses the standard Java mechanisms for comparing objects (i.e. the Comparable interface) so it may be better to wrap the values that will contain the nulls in a custom function that will return a value (instead of null) that will force it to sort at the "top". It doesn't seem that the behavior for handling nulls is defined in the Comparable interface so a custom function is...
2009-10-29 23:38:38 UTC by barrygently
-
Hi,
I noticed if I sort a set of data with null inside, it will return a very funny order which it didnt put all the null data at the top most.
Any ideas ? I need the null data there.
Thanks.
2009-10-29 05:54:21 UTC by nobody
-
Hi,
I noticed if I sort a set of data with null inside, it will return a very funny order which it didnt put all the null data at the top most.
Any ideas ? I need the null data there.
Thanks.
2009-10-29 02:36:10 UTC by nobody
-
The example in JoSQL works fine finding names, but not using dates, because in the example it uses Dates as parameters, and really the attribute in the File class is a long, it works very well if the Dates are sent as long values.
2009-09-14 21:18:14 UTC by nobody