users@glassfish.java.net

Which JDBC resource type to use

From: <forums_at_java.net>
Date: Sun, 16 Dec 2012 12:39:25 -0600 (CST)

Hi all, Is it true that regardless whehter I use DataSource or
ConnectionPoolDataSource as the resource type the connections are pooled? Is
it the case that Glassfish uses its own pooling mechanism if DataSource is
specified but can take advantage of the native driver's pooling if
ConnectionPoolDataSource is used? If so, which variant is preferable? I am a
beginner, so a rule of thumb would be enough. Thanks a lot Roman

--
[Message sent by forum member 'rtoengi']
View Post: http://forums.java.net/node/893248