Subject
Author Roman Rokytskyy
Hi,

> I am very new in this group, and with FireBird too.
>
> I need to know one way to have the number of conections to one
> database,

This is not possible from Java. In case of using Classic Server
version you can count the number of processes, in case of Super Server
version you can use some administration tool (they provide such info).

> and also disconect the session of one conection .

This is not possible at all. In ClassicVersion you can try to find out
what process is responsible to what client (on unix you can do this
with ps and netstat) and then kill that process hoping that database
will not be corrupted. On SuperServer version this is not possible,
since there's only one process serving all requests.

If these features are critical to you, you have to use InterBase 7.1
(commercial, you have to pay for the licenses).

Also, please ask such question in
http://groups.yahoo.com/group/Firebird-Support, this group is support
group for Firebird JDBC driver and everything related to using
Firebird with Java.

Best regards,
Roman Rokytskyy