db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Hillegas <rick.hille...@oracle.com>
Subject Re: How know databases connected with Derby networkServer
Date Fri, 24 Jan 2014 13:14:57 GMT
On 1/24/14 2:32 AM, AirDT wrote:
> Hello everyone,
>
> I run a NetworkServer that allows multiple users to connect to multiple
> Derby database.
> How do I know databases connected at a given moment ?
> In order to :
> - Have knowledge of potential users connected to each connected dataBase
> - Shutdown these databases in order to remove them without shutDown derby.
> -...
>
> Any help would be appreciated.
> Thanks in advance
>
> AirDT
>
>
>
> --
> View this message in context: http://apache-database.10148.n7.nabble.com/How-know-databases-connected-with-Derby-networkServer-tp136724.html
> Sent from the Apache Derby Users mailing list archive at Nabble.com.
>
Hi AirDT,

I don't believe that Derby tracks this information anywhere. However, 
you might be able to hack this kind of tracking into 
org.apache.derby.impl.jdbc.EmbedConnection.

Hope this helps,
-Rick

Mime
View raw message