4 Replies Latest reply on Jan 16, 2015 3:30 AM by Radim Vansa

    Remove a full collection result from an remote query

    Manuel Franqueira Newbie

      Hi guys,


      I can now do a remote query with Hotrod, but I need to remove a collection at once.

      I have the following code which return a list of instances:


      Query query = qf.from(datagrid.Teste.class)

                     .having("title").like("%" + title + "%").toBuilder()


      List<Teste> results = query.list();


      How can I remove the results of a query like this all at once?


      Thanks again for the support,

      Manuel Franqueira