users@glassfish.java.net

Ambiguous MySQL Connection Pool Creation

From: Behrang Saeedzadeh <behrangsa_at_gmail.com>
Date: Fri, 10 Nov 2006 00:45:57 +0330

Hi,

When I select "javax.sql.DataSource" as the type of the connection
pool I'm going to create, the "DataSource Classname" field's value is
filled with "com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource"
but when I select "javax.sql.ConnectionPoolDataSource" as the type of
the connection pool, the "Datasource Classname" field's value is left
blank. This is a little bit confusing. I thought by selecting
javax.sql.ConnectionPoolDataSource, the "Datasource Classname" field's
value would become
"com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource" (which
isn't and is left blank) and by selecting "javax.sql.DataSource" as
the type of the pool, I would get
"com.mysql.jdbc.jdbc2.optional.MysqlDataSource" (which I don't and
instead I get the
"com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource").

Am I missing something or is this possibly a bug?

Best regards,
Behi

-- 
"Science is a differential equation. Religion is a boundary condition"
- Alan Turing
Behrang Saeedzadeh
http://www.jroller.com/page/behrangsa
http://my.opera.com/behrangsa