db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@apache.org>
Subject Re: Question about grant/revoke
Date Tue, 03 Apr 2007 14:07:40 GMT
Dyre.Tjeldvoll@Sun.COM wrote:
> While working on re-using resultsets (DERBY-827) I've discovered that
> calls to 
> 
> getLanguageConnectionContext().getAuthorizer().authorize(this , 1);
> 
> have been added in places that I don't think are compatible with
> re-using result sets.

I think that the checking authorization once is the desired behaviour, 
not every execution, for performance reasons. The statements should be 
invalidated when a revoke is executed.

Dan.


Mime
View raw message