<div dir="ltr">Hi Thiago,<div><br></div><div>Nice questions. Answers inline.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 16, 2014 at 6:20 PM, Tiago Resende <span dir="ltr">&lt;<a href="mailto:tiagor87@gmail.com" target="_blank">tiagor87@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi guys, thanks for the other day, you really helped me. <div>

<br></div><div>I have two questions today.<div><br></div><div>How can I perform a query using &quot;order by&quot; statement in SQLStore?</div><div>

<br></div><div>I did a readAll, then I ordered in memory using Ordering&lt;T&gt;.</div></div></div></blockquote><div><br></div><div>Unfortunately. We don&#39;t have this option for now.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr"><div><div>The second question is how can I indicate to AeroGear that it should use an auto increment primary key for a table. I created an AutoGeneratorId Class, but it&#39;s not working beautifully for SQLStore. I had to create an update method and call it for every object, I didn&#39;t like it, but I couldn&#39;t find a better solution reading the documentation.</div>

</div></div></blockquote><div><br></div><div>No, who creates the id is always idGenerator. What&#39;s the problem?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr"><div><div>I really appreciate your help.</div><div><br></div><div>Thanks.</div><span class=""><font color="#888888"><div><div><br></div>-- <br><div dir="ltr"><b><font color="#444444">Tiago de Carvalho Resende</font></b></div>

</div></font></span></div></div></blockquote></div></div></div>