users@cargotracker.java.net

Re: Re: How to deal with Filtering, Pagination and Sorting with DDD Repository-JAVAEE 7

From: reza_rahman <reza_rahman_at_lycos.com>
Date: Sun, 27 Mar 2016 00:17:51 -0400

This is really not a good idea. It's bound to be confusing for anyone needing to maintain the code later. It's far more maintenable to simply add the correct parameters explicitly to all calls across the layers.
Sent via the Samsung Galaxy S7, an AT&T 4G LTE smartphone
-------- Original message --------From: iury.lira_at_gmail.com Date: 3/26/16 11:54 PM (GMT-05:00) To: reza_rahman_at_lycos.com Subject: Re: Re: How to deal with Filtering, Pagination and Sorting with DDD
  Repository-JAVAEE 7
Setting the PaginationContext on ThreadLocal on user interface and get
on JPA...Repository a bad workaround?