#217 - ENH: Restore findFutureList() removing its previous deprecated status. Change implementation to use its own PersistenceContext (aka PersistenceContextScope.QUERY)

This commit is contained in:
rbygrave
2014-12-01 23:09:25 +13:00
parent dd30b43d59
commit 8237072f5b
9 changed files with 399 additions and 141 deletions
+3 -3
View File
@@ -676,11 +676,11 @@ public interface Query<T> extends Serializable {
/**
* Execute find list query in a background thread.
* <p>
* Deprecated with a view to simplifying internals.
* This query will execute in it's own PersistenceContext and using its own transaction.
* What that means is that it will not share any bean instances with other queries.
* </p>
*
*
* @return a Future object for the list result of the query
* @deprecated
*/
public FutureList<T> findFutureList();