arraylist « SQL « Java Database Q&A

1. How to sort a "Book" ArrayList without SQL?

My Book app gathers a collection of Book objects using lookups against different Merchant objects:

List<Book> books = new ArrayList<Book>();
for (Merchant merchant : merchants)
It has to sort the ...

2. Performing "Optimized" set Operations on java.util.ArrayList or in SQL

This is the first time I need to ask question to get my query solved before today previous threads were able to solve my queries. Scenario: I have two tables(lets say A & ...