[quote=sm157516]
What is the need to cast it to BoneCPDataSource? A getConnection() can be
performed directly on the got datasource.
[/quote]
[quote=sm157516]
What is the need to cast it to BoneCPDataSource? A getConnection() can be
performed directly on the got datasource.
[/quote]
Do you consider BoneCPDataSource and DBCP more efficient than the standard
DataSource?
With DBCP (BasicDataSource) I had the following code:
(BasicDataSource) envCtx.lookup("jdbc/maindb");
--
[Message sent by forum member 'theplague']
View Post: http://forums.java.net/node/802621