Bean Query 1.1.5 发布。
添加新的功能:增加多重排序的支持
List<Book> sortedResult=select(Book.class).orderBy( orderByProperty("author.name").desc(), orderByProperty("bookName"), yourOwnComparator ).executeFrom(bookCollection);
Bean Query 1.1.5 发布。
添加新的功能:增加多重排序的支持
List<Book> sortedResult=select(Book.class).orderBy( orderByProperty("author.name").desc(), orderByProperty("bookName"), yourOwnComparator ).executeFrom(bookCollection);