java.sql.Statement has a 'cancel()' method, so theoretically this is doable. I have no information on how reliable this is with common databases. Also this is not integrated to Cayenne, but it should be possible to do so (if 'cancel()' actually works). Perhaps we can take this to dev@ and discuss how to make it happen?
Andrus > On May 22, 2015, at 1:07 PM, Hugi Thordarson <h...@karlmenn.is> wrote: > > Hi all. > Is there any way to gracefully cancel/stop a long running fetch in Cayenne? > > Cheers, > - hugi > > // Hugi Thordarson > // http://www.loftfar.is/ <http://www.loftfar.is/> > // s. 895-6688