"08001","08001","OK","OK","OK"}, ds);
ds.setConnectionAttributes(null);
ds.setDatabaseName(null);
// now with ConnectionPoolDataSource
ClientConnectionPoolDataSource cpds =
new ClientConnectionPoolDataSource();
// ConnectionPoolDataSource - EMPTY
dsConnectionRequests(new String[]
{"08001","08001","08001","08001",
"08001","08001","08001","08001","08001"},
(ConnectionPoolDataSource)cpds);
// ConnectionPoolDataSource
// - connectionAttributes=databaseName=<valid dbname>
cpds.setConnectionAttributes("databaseName=" + dbName);
dsConnectionRequests(new String[]
{"08001","08001","08001","08001",
"08001","08001","08001","08001","08001"},
(ConnectionPoolDataSource)cpds);
cpds.setConnectionAttributes(null);
// Test that database name specified in connection attributes is
// not used
// ConnectionPoolDataSource - databaseName=wombat and
// connectionAttributes=databaseName=kangaroo
cpds.setConnectionAttributes("databaseName=kangaroo");
cpds.setDatabaseName(dbName);
dsConnectionRequests(new String[]
{"OK","08001","OK","OK","08001","08001","OK","OK","OK"},
(ConnectionPoolDataSource)cpds);
cpds.setConnectionAttributes(null);
cpds.setDatabaseName(null);
// now with XADataSource
ClientXADataSource xads = new ClientXADataSource();
// XADataSource - EMPTY
dsConnectionRequests(new String[]