The AeroGear isn't reading the last Id saved in database, so, it starts over and over again, overwriting my old data every time a open my application.2014-03-17 18:11 GMT-03:00 Daniel Passos <daniel@passos.me>:_______________________________________________Hi Thiago,Nice questions. Answers inline.On Sun, Mar 16, 2014 at 6:20 PM, Tiago Resende <tiagor87@gmail.com> wrote:
Hi guys, thanks for the other day, you really helped me.I have two questions today.How can I perform a query using "order by" statement in SQLStore?I did a readAll, then I ordered in memory using Ordering<T>.Unfortunately. We don't have this option for now.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's not working beautifully for SQLStore. I had to create an update method and call it for every object, I didn't like it, but I couldn't find a better solution reading the documentation.No, who creates the id is always idGenerator. What's the problem?I really appreciate your help.Thanks.--Tiago de Carvalho Resende
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev
--Tiago de Carvalho Resende
Desenvolvedor"O importante não é saber fazer,é saber de onde copiar."por Bernardo Esbérard
é saber de onde copiar."
por Bernardo Esbérard