<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to feature-requests</title><link href="https://sourceforge.net/p/josql/feature-requests/" rel="alternate"/><link href="https://sourceforge.net/p/josql/feature-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/josql/feature-requests/</id><updated>2013-11-04T10:17:40.827000Z</updated><subtitle>Recent changes to feature-requests</subtitle><entry><title>#25 add correctly to Maven</title><link href="https://sourceforge.net/p/josql/feature-requests/25/?limit=50#3765" rel="alternate"/><published>2013-11-04T10:17:40.827000Z</published><updated>2013-11-04T10:17:40.827000Z</updated><author><name>Gary Bentley</name><uri>https://sourceforge.net/u/barrygently/</uri></author><id>https://sourceforge.net89153ada6e6e71cb79c36614b8c9a278bb4efe10</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;That doesn't look very simple to me :)  18 pages of instructions is a bit much.&lt;/p&gt;
&lt;p&gt;However my opinion of maven has always been the same.  I have no objection to other people who find josql useful adding it to whatever maven repositories they wish.  I don't use maven myself so I have no use for this and don't have the time to spend learning about what it all means.&lt;/p&gt;
&lt;p&gt;But if you need josql adding please feel free to do it yourself.&lt;/p&gt;
&lt;p&gt;Gary&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>add correctly to Maven</title><link href="https://sourceforge.net/p/josql/feature-requests/25/" rel="alternate"/><published>2013-11-04T09:49:48.667000Z</published><updated>2013-11-04T09:49:48.667000Z</updated><author><name>Amir Arad</name><uri>https://sourceforge.net/u/amirarad/</uri></author><id>https://sourceforge.net50a4cf4301e866d89fc2e06212ce2229068f951c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Could you please add the latest stable version to maven, with sources, javadoc etc. ?&lt;/p&gt;
&lt;p&gt;I want to be able to refer to it from an open-source project that is managed by maven.&lt;/p&gt;
&lt;p&gt;Here is a simple way to do it:&lt;br /&gt;
&lt;a href="https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide" rel="nofollow"&gt;https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Add a maxrow variable to Query.execute</title><link href="https://sourceforge.net/p/josql/feature-requests/24/" rel="alternate"/><published>2012-07-31T22:29:25Z</published><updated>2012-07-31T22:29:25Z</updated><author><name>Zac</name><uri>https://sourceforge.net/u/zacwolf/</uri></author><id>https://sourceforge.net47ef7d843d9d2f4ba2acaf78f8a25796775ec4e9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Understand this is outside the basic SQL context, but since I see a major usage of JoSQL being to answer AJAX based "autofill" queries [LIKE 'XXX%'], it would be awesome to have some way to limit the query to the first X number of rows that meet the query results.  That should really help on those "LIKE" query's performance!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>automatically assign allias</title><link href="https://sourceforge.net/p/josql/feature-requests/23/" rel="alternate"/><published>2012-03-15T11:24:59Z</published><updated>2012-03-15T11:24:59Z</updated><author><name>Norbert Nogacki</name><uri>https://sourceforge.net/u/theeviljester/</uri></author><id>https://sourceforge.net155baaa4f01c04555497ac14b5fa1eabc5e2ffb1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;when a select expression doesn't have an allias specified then it will be null.&lt;br /&gt;
For example:&lt;br /&gt;
SELECT count(fieldName) as count, fieldName FROM clazz GROUP BY fieldName LIMIT 1,1&lt;br /&gt;
parsing this query and using the getColumn methods will get me an ArrayList with two SelectExpressions with the following alliases:&lt;br /&gt;
count&lt;br /&gt;
null.&lt;br /&gt;
I'd like to see here something like:&lt;br /&gt;
count, fieldName&lt;br /&gt;
Or &lt;br /&gt;
count, column2&lt;br /&gt;
Or anything OTHER than null.&lt;br /&gt;
There is no way of getting the fieldName from the query other than substringing the toString() result (which is a horrible idea snice it could change at any given time)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Support Accessor using Map's name value pair</title><link href="https://sourceforge.net/p/josql/feature-requests/22/" rel="alternate"/><published>2012-03-05T05:33:47Z</published><updated>2012-03-05T05:33:47Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net66825a9114c0bbc7c388686df0abdba8b0cbd949</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Currently, the accessor is based on Java Bean convention getter.  Is it possible to have the accessor work with Map's name value pair without using Bean?  This is to avoid generating Java Bean class from the data set.  I have different kinds of data set and each data set uses it's own attribute/value pairs.  To be able to use JoSQL, I have to create/generate a Java Bean class for each data set. &lt;/p&gt;
&lt;p&gt;For each data set to search via JoSQL:&lt;br /&gt;
Current: List&amp;lt;MyDataObject&amp;gt;&lt;br /&gt;
Wanted: List&amp;lt;Map&amp;lt;String, String&amp;gt;&amp;gt;  (So far, I am only interested in string values.)&lt;/p&gt;
&lt;p&gt;I could use in memory DB like H2 and dynamically generate DB schema based on attributes.  But with JoSQL, I cannot create Java Bean class at runtime.&lt;/p&gt;
&lt;p&gt;Is this something worth to consider?  Or is there already a way to do this?  I just started to look at JoSQL and plan to use it in our project.  It's a great fit so far since we only use basic query and the performance is very good: under 1s query for 1M objects.&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;br /&gt;
Bo&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>syntax error with count(*)</title><link href="https://sourceforge.net/p/josql/feature-requests/21/" rel="alternate"/><published>2011-03-29T14:57:52Z</published><updated>2011-03-29T14:57:52Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net0fbee37b5603ab77ebd35b723733d123ddbd6b58</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;JoSQL parsed:&lt;/p&gt;
&lt;p&gt;select count(field) from SomeType where 1 = 1&lt;/p&gt;
&lt;p&gt;But gave a syntax error at the star for&lt;/p&gt;
&lt;p&gt;select count(*) from SomeType where 1 = 1&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>varargs custom functions</title><link href="https://sourceforge.net/p/josql/feature-requests/20/" rel="alternate"/><published>2011-03-28T10:27:00Z</published><updated>2011-03-28T10:27:00Z</updated><author><name>Robert Lieb</name><uri>https://sourceforge.net/u/rlieb/</uri></author><id>https://sourceforge.net7f9e5e930e85f1a901ff4cb8214b7171ec776f2e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;For formatting (concat) different properties in a query we created a new custom function like:&lt;/p&gt;
&lt;p&gt;public String format(String format, Object... args) {&lt;br /&gt;
StringBuilder sb = new StringBuilder();&lt;br /&gt;
Formatter formatter = new Formatter(sb);&lt;br /&gt;
formatter.format(format, args);&lt;/p&gt;
&lt;p&gt;return sb.toString();&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;The class was registered by the Query instance but the method was not found. I guess because of the varargs in the method signature.&lt;br /&gt;
It would be a nice and very useful feature to have it in JoSQL.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Access array element</title><link href="https://sourceforge.net/p/josql/feature-requests/19/" rel="alternate"/><published>2011-03-11T18:10:19Z</published><updated>2011-03-11T18:10:19Z</updated><author><name>Ron</name><uri>https://sourceforge.net/u/rsiemens77/</uri></author><id>https://sourceforge.netc56e45836fbfd3227a9a4e92646e415a1dbb3ab3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I would like to see accessors that can index an element from an array.  Such as:&lt;/p&gt;
&lt;p&gt;select myarray[2]&lt;/p&gt;
&lt;p&gt;perhaps some additional features like&lt;/p&gt;
&lt;p&gt;select myarray[*]&lt;br /&gt;
or select [*] myarray&lt;/p&gt;
&lt;p&gt;to return all the array elements, similar to collections.&lt;/p&gt;
&lt;p&gt;I would be willing to tackle this myself, but need a little implementation guidance: I have already added a few simple additions to JoSQL such as bit manipulation operators.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Support classic bean access</title><link href="https://sourceforge.net/p/josql/feature-requests/18/" rel="alternate"/><published>2010-11-29T14:13:54Z</published><updated>2010-11-29T14:13:54Z</updated><author><name>Goran Lowkrantz</name><uri>https://sourceforge.net/u/glz/</uri></author><id>https://sourceforge.net577d3528ad1dcb078880aeba1b682e148d744e2f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;By allowing the old style bean access method Object get(String) with the attribute name as parameter, a wide range of interesting uses of JoSQL opens up. In my case, this make it possible to use the JMS selector syntax to accept and reject JMS messages in a post-processing step.&lt;/p&gt;
&lt;p&gt;The attached file contains an added Getter helper class (BeanMethod) and an updated Getter.java that fixes this. The changes are minimal and for me the benefits in flexibility is very large.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Improve Documentation</title><link href="https://sourceforge.net/p/josql/feature-requests/17/" rel="alternate"/><published>2009-12-09T10:33:58Z</published><updated>2009-12-09T10:33:58Z</updated><author><name>Chris M</name><uri>https://sourceforge.net/u/chrismullard/</uri></author><id>https://sourceforge.netd716f746be64d087c7bb4db2b780b454b4f6411b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br /&gt;
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. &lt;br /&gt;
For example using Collection ConcurrentHashMap&amp;lt;String, Order&amp;gt;&lt;/p&gt;
&lt;p&gt;and String sqlStatement = "Select * from xxx.Order where " + &lt;br /&gt;
" getData('basket') like 'AAA%' and "&lt;br /&gt;
+ " getData('client') like 'AAA%'";&lt;br /&gt;
a query parse exception is thrown....&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>