Hi all, 
I recently discovered the DSLContext.batchStore method that can save or 
update records from a list direct to database. This is fabulous. Great code.
But I'm just wondering how I can handle removed records from list. Should I 
maintain a complementary list of removed records, or did I code something 
wrong? 

This is my code:

List<Person> people = DSLContext.fetch(Tables.Person);
people.remove(people.size() - 1);  //it removes last person 
DSLContext.batchStore(people).execute(); //it doesn't work, the record is 
not deleted.


-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to