db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oyvind.Bakk...@Sun.COM
Subject Re: Implementing Statement.cancel()
Date Mon, 02 May 2005 17:34:25 GMT
Daniel John Debrunner skrev:
> Oyvind.Bakksjo@Sun.COM 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

Mime
View raw message