users@glassfish.java.net

Re: Querying JNDI resource on GlassFish always returns null

From: <forums_at_java.net>
Date: Tue, 17 May 2011 07:15:34 -0500 (CDT)

[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