This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
// identify JDBC Connection Pool xml
JdbcConnectionPool[] pools = resources.getJdbcConnectionPool();
if(pools.length != 0){
if(pools != null && pools.length > 0){
ConnPoolBean currCPBean = ConnPoolBean.createBean(pools[0]);
type = this.JDBC_CP;
setPool(currCPBean);