Subject connection pooling question
Author Nikolay Ivanchev
Hello, I have this problem
I am using the connection pooling example
from ibphoenix.com
 
My question is as follows:
Since I have a dialog, where user must supply it's conenction string
(I have one username/pass for all users to conenct to DB, I maintain security on application level)
What happens if user does not supply correct path... will driver stay in memory, and must I only call
org.firebirdsql.jdbc.FBWrappingDataSource setDatabaseName(path) again and then call it's
getConnection method to achive connection if user have entered correct data, or I must unload the driver
somehow (frankly I cannot find org.firebirdsql.jdbc.FBWrappingDataSource API anywhere).
I have implemented this pool as a Singleton (if this helps).
 
Thanks
Niki Iv