Subject | Re: [Firebird-Java] Shut down the pool? |
---|---|
Author | Federico Tello Gentile |
Post date | 2005-09-12T15:21:31Z |
Roman Rokytskyy wrote:
do they go to the limbo?
Otherwise the garbage collector will call finalizers
gargage collection does not happen when shutting down.
>In this case, I guess the server rolls back the transactions, right? Or
> If your JVM exists, there's nothing to shut down - driver will simply break
> the socket connections.
do they go to the limbo?
Otherwise the garbage collector will call finalizers
> which in turn will gracefully close the database connections (all activeThat is not my concern, that is the expected bahoviour in that case, but
> transactions will be rolled back).
gargage collection does not happen when shutting down.
>I don't need that if the transactions get rolled back when the JVM exits.
> If you wish, you can explicitly call shutdown() method - this will close all
> connections too.