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?
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).
2009/10/20 Lawrence Gerstley <[hidden email]>:
> 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
>