>
> > 1) Clean shutdown.
>
> If you shutdown the VM cleanly (i.e., if you have an
> application that can actually exit all non-dameon threads), I
> think DBCP should give you a clean shutdown--all the database
> objects should be closed then released as part of the gc process.
>
Well, clear does what i need, close all the idle connections.. i dont
hace stalled threads nor a thread can maintain a connection open ...so
clear it's sufficient...
Are you sure resources are recovered by the DB when the VM shutdowns? it
seems to me that this can depend on the quality of the JDBCdriver code,
db code or something else.. not something i feel confortable with..
Saludos ,
Ignacio J. Ortega