[hibernate-dev] HSEARCH-615 Support time-constrained queries returning the first available results

Hardy Ferentschik hibernate at ferentschik.de
Wed Dec 8 06:06:46 EST 2010


On Wed, 08 Dec 2010 11:40:57 +0100, Emmanuel Bernard  
<emmanuel at hibernate.org> wrote:

> limitExecutionTimeTo (or boundExecutionTimeTo) seems exactly what we are  
> looking for.
>
> WDYT?

I find it a little confusing to have setTimeout and limitFetchingTime (or  
be it limitExecutionTimeTo).
Why not having another version of setTimeout - setTimeout(long timeout,  
TimeUnit timeUnit, boolean allowPartialResults)?

--Hardy



More information about the hibernate-dev mailing list