Hello!
You can create separate DataContext and bind it to your separate
thread. Then you can stop you thread anytime.
Also you can bind transaction to thread (if you want to rollback changes).
See:
Evgeny Ryabitskiy
2009/10/20 Lawrence Gerstley <lawger..mail.com>:
> Hello,
>
> If you're using Cayenne as the ORM in a thick desktop client (e.g., RCP),
> and executing a long-running query, is there a Cayenne methodology for
> interrupting and canceling such a query, or would one just use normal
> threading?
>
> Thanks--Lawrence
>
This archive was generated by hypermail 2.0.0 : Wed Oct 21 2009 - 05:29:49 EDT