Daniel John Debrunner skrev:
[EMAIL PROTECTED] wrote:

[...] using the
LanguageConnectionContext.getStatementContext() method through the lcc
reference available to both EmbedStatement and BasicNoPutResultSet.
[...] What statement's context object is returned?


That method will return the currently active top statement context, the
statement being executed in the engine at the current time.

<details snipped>

So, quick summary, that method is not suitable for finding the correct
StatementContext from EmbedStatement.cancel().

That was my gut feeling, yes. :)

Thanks for a clear and enlightening answer.

I'll look into how I think you should track down the StatementContext.
Dan.

Thanks, that would be great.

--
�yvind Bakksj�
Sun Microsystems, Web Services, Database Technology Group
Haakon VII gt. 7b, N-7485 Trondheim, Norway
Tel: x43419 / +47 73842119, Fax: +47 73842101

Reply via email to