Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.

Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.


The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common
Development and Distribution License("CDDL") (collectively, the
"License"). You may not use this file except in compliance with the
License. You can obtain a copy of the License at
http://www.netbeans.org/cddl-gplv2.html
or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
specific language governing permissions and limitations under the
License.  When distributing the software, include this License Header
Notice in each file and include the License file at
nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
particular file as subject to the "Classpath" exception as provided
by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the
License Header, with the fields enclosed by brackets [] replaced by
your own identifying information:
"Portions Copyrighted [year] [name of copyright owner]"

Contributor(s):

The Original Software is NetBeans. The Initial Developer of the Original
Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
Microsystems, Inc. All Rights Reserved.

If you wish your version of this file to be governed by only the CDDL
or only the GPL Version 2, indicate your decision by adding
"[Contributor] elects to include this software in this distribution
under the [CDDL or GPL Version 2] license." If you do not indicate a
single choice of license, a recipient has the option to distribute
your version of this file under either the CDDL, the GPL Version 2 or
to extend the choice of license to its licensees as provided above.
However, if you add GPL Version 2 code and therefore, elected the GPL
Version 2 license, then the option applies only if the new code is
made subject to such option by the copyright holder.
-->
<!DOCTYPE wizard>
<wizard>
    <name>jdbc-connection-pool</name>
    <field-group>
        <name>general</name>
        <field field-type="string">
            <name>database-vendor</name>
            <field-value>
                <default-field-value></default-field-value>
            </field-value>
            <tag>
                <tag-item>sun_db2</tag-item>
                <tag-item>sun_msftsql</tag-item>
                <tag-item>sun_oracle</tag-item>
                <tag-item>sun_sybase</tag-item>
                <tag-item>post-gre-sql</tag-item>
                <tag-item>microsoft_sql</tag-item>
                <tag-item>jtds_sql</tag-item>
                <tag-item>jtds_sybase</tag-item>
                <tag-item>derby_net</tag-item> 
                <tag-item>oracle-thin</tag-item>
                <tag-item>oracle</tag-item>
                <tag-item>pointbase</tag-item>
                <tag-item>db2</tag-item>
                <tag-item>datadirect_sql</tag-item>
                <tag-item>datadirect_oracle</tag-item> 
                <tag-item>datadirect_db2</tag-item> 
                <tag-item>datadirect_informix</tag-item> 
                <tag-item>datadirect_sybase</tag-item> 
                <tag-item>jdbc-odbc-bridge</tag-item>
                <tag-item>sql-server</tag-item>
                <tag-item>sybase2</tag-item>
                <tag-item>cloudscape</tag-item>
                <tag-item>informix</tag-item>
                <tag-item>mysql</tag-item>
                <tag-item>other</tag-item>
            </tag>            
        </field>
        <field>
            <name>isXA</name>
            <field-value>
                <default-field-value>false</default-field-value>
            </field-value>
            <tag>
                <tag-item>true</tag-item>
                <tag-item>false</tag-item>
            </tag>
        </field>
        <field field-type="textarea">
            <name>description</name>
            <field-value>
                <default-field-value></default-field-value>
            </field-value>
        </field>
        <field field-type="list">
            <name>res-type</name>
            <field-value>
                <default-field-value>javax.sql.DataSource</default-field-value>
            </field-value>
            <tag>
                <tag-item>javax.sql.DataSource</tag-item>
                <tag-item>javax.sql.XADataSource</tag-item>
                <tag-item>javax.sql.ConnectionPoolDataSource</tag-item>
            </tag>
        </field>
        <field field-type="string">
            <name>is-cp-existing</name>
            <field-value>
                <default-field-value>false</default-field-value>
            </field-value>
        </field>
        <field field-type="string">
            <name>datasource-classname</name>
            <field-value>
                <default-field-value></default-field-value>
                <option-value-pair>
                    <option-name>oracle-thin</option-name>
                    <conditional-value>oracle.jdbc.pool.OracleDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>derby_net</option-name>
                    <conditional-value>org.apache.derby.jdbc.ClientDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>sun_db2</option-name>
                    <conditional-value>com.sun.sql.jdbcx.db2.DB2DataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>sun_msftsql</option-name>
                    <conditional-value>com.sun.sql.jdbcx.sqlserver.SQLServerDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>sun_oracle</option-name>
                    <conditional-value>com.sun.sql.jdbcx.oracle.OracleDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>sun_sybase</option-name>
                    <conditional-value>com.sun.sql.jdbcx.sybase.SybaseDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>post-gre-sql</option-name>
                    <conditional-value>org.postgresql.ds.PGSimpleDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>microsoft_sql</option-name>
                    <conditional-value>com.microsoft.sqlserver.jdbc.SQLServerDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>jtds_sql</option-name>
                    <conditional-value>net.sourceforge.jtds.jdbcx.JtdsDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>jtds_sybase</option-name>
                    <conditional-value>net.sourceforge.jtds.jdbcx.JtdsDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>oracle</option-name>
                    <conditional-value>oracle.jdbc.pool.OracleDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>db2</option-name>
                    <conditional-value>com.ibm.db2.jcc.DB2DataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_sql</option-name>
                    <conditional-value>com.ddtek.jdbcx.sqlserver.SQLServerDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_oracle</option-name>
                    <conditional-value>com.ddtek.jdbcx.oracle.OracleDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_db2</option-name>
                    <conditional-value>com.ddtek.jdbcx.db2.DB2DataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_informix</option-name>
                    <conditional-value>com.ddtek.jdbcx.informix.InformixDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_sybase</option-name>
                    <conditional-value>com.ddtek.jdbcx.sybase.SybaseDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>sybase2</option-name>
                    <conditional-value>com.sybase.jdbc2.jdbc.SybDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>pointbase</option-name>
                    <conditional-value>com.pointbase.jdbc.jdbcDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>cloudscape</option-name>
                    <conditional-value>com.cloudscape.core.BasicDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>informix</option-name>
                    <conditional-value>com.informix.jdbcx.IfxDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>mysql</option-name>
                    <conditional-value>com.mysql.jdbc.jdbc2.optional.MysqlDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>jdbc-odbc-bridge</option-name>
                    <conditional-value>sun.jdbc.odbc.JdbcOdbcDriver</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>sql-server</option-name>
                    <conditional-value>weblogic.jdbc.mssqlserver4.Driver</conditional-value>
                </option-value-pair>
            </field-value>
        </field>
        <field field-type="string">
            <name>datasource-classname-xa</name>
            <field-value>
                <default-field-value></default-field-value>
                <option-value-pair>
                    <option-name>oracle-thin</option-name>
                    <conditional-value>oracle.jdbc.xa.client.OracleXADataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>derby_net</option-name>
                    <conditional-value>org.apache.derby.jdbc.ClientXADataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>sun_db2</option-name>
                    <conditional-value>com.sun.sql.jdbcx.db2.DB2DataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>sun_msftsql</option-name>
                    <conditional-value>com.sun.sql.jdbcx.sqlserver.SQLServerDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>sun_oracle</option-name>
                    <conditional-value>com.sun.sql.jdbcx.oracle.OracleDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>sun_sybase</option-name>
                    <conditional-value>com.sun.sql.jdbcx.sybase.SybaseDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>post-gre-sql</option-name>
                    <conditional-value>org.postgresql.xa.PGXADataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>microsoft_sql</option-name>
                    <conditional-value>com.microsoft.sqlserver.jdbc.SQLServerXADataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>jtds_sql</option-name>
                    <conditional-value>net.sourceforge.jtds.jdbcx.JtdsDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>jtds_sybase</option-name>
                    <conditional-value>net.sourceforge.jtds.jdbcx.JtdsDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>oracle</option-name>
                    <conditional-value>oracle.jdbc.xa.client.OracleXADataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>db2</option-name>
                    <conditional-value>com.ibm.db2.jcc.DB2XADataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_sql</option-name>
                    <conditional-value>com.ddtek.jdbcx.sqlserver.SQLServerDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_oracle</option-name>
                    <conditional-value>com.ddtek.jdbcx.oracle.OracleDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_db2</option-name>
                    <conditional-value>com.ddtek.jdbcx.db2.DB2DataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_informix</option-name>
                    <conditional-value>com.ddtek.jdbcx.informix.InformixDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_sybase</option-name>
                    <conditional-value>com.ddtek.jdbcx.sybase.SybaseDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>sybase2</option-name>
                    <conditional-value>com.sybase.jdbc2.jdbc.SybXADataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>pointbase</option-name>
                    <conditional-value>com.pointbase.xa.xaDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>cloudscape</option-name>
                    <conditional-value>com.cloudscape.core.XADataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>informix</option-name>
                    <conditional-value>com.informix.jdbcx.IfxXADataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>mysql</option-name>
                    <conditional-value>com.mysql.jdbc.jdbc2.optional.MysqlXaConnectionPoolDataSource</conditional-value>
                </option-value-pair>
            </field-value>
        </field>
        <field field-type="string">
            <name>datasource-classname-cp</name>
            <field-value>
                <default-field-value></default-field-value>
                <option-value-pair>
                    <option-name>oracle-thin</option-name>
                    <conditional-value>oracle.jdbc.pool.OracleConnectionPoolDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>derby_net</option-name>
                    <conditional-value>org.apache.derby.jdbc.ClientConnectionPoolDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>sun_db2</option-name>
                    <conditional-value>com.sun.sql.jdbcx.db2.DB2DataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>sun_msftsql</option-name>
                    <conditional-value>com.sun.sql.jdbcx.sqlserver.SQLServerDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>sun_oracle</option-name>
                    <conditional-value>com.sun.sql.jdbcx.oracle.OracleDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>sun_sybase</option-name>
                    <conditional-value>com.sun.sql.jdbcx.sybase.SybaseDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>post-gre-sql</option-name>
                    <conditional-value>org.postgresql.ds.PGConnectionPoolDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>microsoft_sql</option-name>
                    <conditional-value>com.microsoft.sqlserver.jdbc.SQLServerConnectionPoolDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>jtds_sql</option-name>
                    <conditional-value>net.sourceforge.jtds.jdbcx.JtdsDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>jtds_sybase</option-name>
                    <conditional-value>net.sourceforge.jtds.jdbcx.JtdsDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>oracle</option-name>
                    <conditional-value>oracle.jdbc.pool.OracleConnectionPoolDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>db2</option-name>
                    <conditional-value>com.ibm.db2.jcc.DB2ConnectionPoolDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_sql</option-name>
                    <conditional-value>com.ddtek.jdbcx.sqlserver.SQLServerDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_oracle</option-name>
                    <conditional-value>com.ddtek.jdbcx.oracle.OracleDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_db2</option-name>
                    <conditional-value>com.ddtek.jdbcx.db2.DB2DataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_informix</option-name>
                    <conditional-value>com.ddtek.jdbcx.informix.InformixDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_sybase</option-name>
                    <conditional-value>com.ddtek.jdbcx.sybase.SybaseDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>sybase2</option-name>
                    <conditional-value>com.sybase.jdbc2.jdbc.SybConnectionPoolDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>pointbase</option-name>
                    <conditional-value>com.pointbase.jdbc.jdbcDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>cloudscape</option-name>
                    <conditional-value>COM.cloudscape.core.LocalConnectionPoolDataSource </conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>informix</option-name>
                    <conditional-value>com.informix.jdbcx.IfxConnectionPoolDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>mysql</option-name>
                    <conditional-value>com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>jdbc-odbc-bridge</option-name>
                    <conditional-value>sun.jdbc.odbc.JdbcOdbcDriver</conditional-value>
                </option-value-pair>
            </field-value>
        </field>
    </field-group>
    <field-group>
        <name>properties</name>
        <field field-type="string">
            <name>URL</name>
            <field-value>
                <default-field-value></default-field-value>
                <option-value-pair>
                    <option-name>oracle-thin</option-name>
                    <conditional-value>jdbc:oracle:thin:@#HOST$:#PORT$:#SID$</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>sun_db2</option-name>
                    <conditional-value>jdbc:sun:db2://server_name:portNumber;databaseName=DATABASENAME</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>sun_msftsql</option-name>
                    <conditional-value>jdbc:sun:sqlserver://server_name[:portNumber];databaseName=database;selectMethod=cursor</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>sun_oracle</option-name>
                    <conditional-value>jdbc:sun:oracle://server_name[:portNumber][;SID=DATABASENAME]</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>sun_sybase</option-name>
                    <conditional-value>jdbc:sun:sybase://server_name[:portNumber]</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>post-gre-sql</option-name>
                    <conditional-value>jdbc:postgresql://@#HOST$:@#PORT$/@#DB$</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>microsoft_sql</option-name>
                    <conditional-value>jdbc:sqlserver://[serverName][\instanceName][:portNumber][;property=value]</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>jtds_sql</option-name>
                    <conditional-value>jdbc:jtds:sqlserver://@#HOST$:@#PORT$/@#DB$</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>jtds_sybase</option-name>
                    <conditional-value>jdbc:jtds:sybase://@#HOST$:@#PORT$/@#DB$</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>oracle</option-name>
                    <conditional-value>jdbc:oracle:oci8:@#SID$</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>db2</option-name>
                    <conditional-value>jdbc:db2://#HOST$:#PORT$/#DB$</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>jdbc-odbc-bridge</option-name>
                    <conditional-value>jdbc:odbc:#DB$</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>sql-server</option-name>
                    <conditional-value>jdbc:weblogic:mssqlserver4:#DB$@#HOST$:#PORT$</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>sybase2</option-name>
                    <conditional-value>jdbc:sybase:Tds:#HOST$:#PORT$</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>cloudscape</option-name>
                    <conditional-value>jdbc:cloudscape:#DB$</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>informix</option-name>
                    <conditional-value>jdbc:informix-sqli://#HOST$:#PORT$/#DB$:INFORMIXSERVER=#SERVER_NAME$</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>mysql</option-name>
                    <conditional-value>jdbc:mysql://#HOST$:#PORT$/#DB$?relaxAutoCommit="true"</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_sql</option-name>
                    <conditional-value>jdbc:datadirect:sqlserver://#HOST$:#PORT$[;databaseName=#DB$]</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_oracle</option-name>
                    <conditional-value>jdbc:datadirect:oracle://#HOST$:#PORT$;SID=#SID$</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_db2</option-name>
                    <conditional-value>jdbc:datadirect:db2://#HOST$:#PORT$[;databaseName=#DB$]</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_informix</option-name>
                    <conditional-value>jdbc:datadirect:informix://#HOST$:#PORT$;informixServer=#SERVER_NAME$;databaseName=#DB$</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_sybase</option-name>
                    <conditional-value>jdbc:datadirect:sybase://#HOST$:#PORT$[;databaseName=#DB$]</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>as400</option-name>
                    <conditional-value>jdbc:as400://systemName/defaultSchema;listOfProperties</conditional-value>
                </option-value-pair>
            </field-value>
        </field>                
        <field field-type="string">
            <name>User</name>
            <field-value>
                <default-field-value></default-field-value>
            </field-value>
        </field>
        <field field-type="string">
            <name>Password</name>
            <field-value>
                <default-field-value></default-field-value>
            </field-value>
        </field>
        <field field-type="string">
            <name>serverName</name>
            <field-value>
                <default-field-value></default-field-value>
                <option-value-pair>
                    <option-name>derby_net</option-name>
                    <conditional-value>NA</conditional-value>
                </option-value-pair>
            </field-value>
        </field>        
        <field field-type="string">
            <name>databaseName</name>
            <field-value>
                <default-field-value></default-field-value>
                <option-value-pair>
                    <option-name>pointbase</option-name>
                    <conditional-value>jdbc:pointbase://#HOST$:#PORT$/#DB$</conditional-value>
                </option-value-pair>
            </field-value>
        </field>
        <field field-type="string">
            <name>description</name>
            <field-value>
                <default-field-value></default-field-value>
            </field-value>
        </field>
        <field field-type="string">
            <name>networkProtocol</name>
            <field-value>
                <default-field-value></default-field-value>
            </field-value>
        </field>
        <field field-type="string">
            <name>portNumber</name>
            <field-value>
                <default-field-value></default-field-value>
            </field-value>
        </field>
        <field field-type="string">
            <name>roleName</name>
            <field-value>
                <default-field-value></default-field-value>
            </field-value>
        </field> 
        <field field-type="string">
            <name>PortNumber</name>
            <field-value>
                <default-field-value></default-field-value>
                <option-value-pair>
                    <option-name>derby_net</option-name>
                    <conditional-value>NA</conditional-value>
                </option-value-pair>
            </field-value>
        </field>
        <field field-type="string">
            <name>DatabaseName</name>
            <field-value>
                <default-field-value></default-field-value>
                <option-value-pair>
                    <option-name>derby_net</option-name>
                    <conditional-value>NA</conditional-value>
                </option-value-pair>
            </field-value>
        </field>
        <field field-type="string">
            <name>connectionAttributes</name>
            <field-value>
                <default-field-value></default-field-value>
                <option-value-pair>
                    <option-name>derby_net</option-name>
                    <conditional-value>NA</conditional-value>
                </option-value-pair>
            </field-value>
        </field>
    </field-group>
    <field-group>
        <name>pool-setting</name>
        <field field-type="int">
            <name>steady-pool-size</name>
            <field-value>
                <default-field-value>8</default-field-value>
            </field-value>
        </field>
        <field field-type="int">
            <name>max-pool-size</name>
            <field-value>
                <default-field-value>32</default-field-value>
            </field-value>
        </field>
        <field field-type="int">
            <name>max-wait-time-in-millis</name>
            <field-value>
                <default-field-value>60000</default-field-value>
            </field-value>
        </field>
        <field field-type="int">
            <name>pool-resize-quantity</name>
            <field-value>
                <default-field-value>2</default-field-value>
            </field-value>
        </field>
        <field field-type="int">
            <name>idle-timeout-in-seconds</name>
            <field-value>
                <default-field-value>300</default-field-value>
            </field-value>
        </field>
    </field-group>        
    <field-group>
        <name>pool-setting-2</name>        
        <field field-type="list">
            <name>transaction-isolation-level</name>
            <tag>
                <tag-item>read-uncommitted</tag-item>
                <tag-item>read-committed</tag-item>
                <tag-item>repeatable-read</tag-item>
                <tag-item>serializable</tag-item>
            </tag>
        </field>
        <field field-type="list">
            <name>is-isolation-level-guaranteed</name>
            <field-value>
                <default-field-value>true</default-field-value>
            </field-value>
            <tag>
                <tag-item>true</tag-item>
                <tag-item>false</tag-item>
            </tag>
        </field>
    </field-group>
    <field-group>
        <name>pool-setting-3</name>        
        <field field-type="list">
            <name>is-connection-validation-required</name>
            <field-value>
                <default-field-value>false</default-field-value>
            </field-value>
            <tag>
                <tag-item>true</tag-item>
                <tag-item>false</tag-item>
            </tag>
        </field>
        <field field-type="list">
            <name>connection-validation-method</name>
            <field-value>
                <default-field-value>auto-commit</default-field-value>
            </field-value>
            <tag>
                <tag-item>auto-commit</tag-item>
                <tag-item>meta-data</tag-item>
                <tag-item>table</tag-item>
            </tag>
        </field>
        <field field-type="string">
            <name>validation-table-name</name>
            <field-value>
                <default-field-value>TAB_NAME</default-field-value>
            </field-value>
        </field>
        <field field-type="list">
            <name>fail-all-connections</name>
            <field-value>
                <default-field-value>false</default-field-value>
            </field-value>
            <tag>
                <tag-item>true</tag-item>
                <tag-item>false</tag-item>
            </tag>
        </field>
        <field field-type="list">
            <name>non-transactional-connections</name>
            <field-value>
                <default-field-value>false</default-field-value>
            </field-value>
            <tag>
                <tag-item>true</tag-item>
                <tag-item>false</tag-item>
            </tag>
        </field>
        <field field-type="list">
            <name>allow-non-component-callers</name>
            <field-value>
                <default-field-value>false</default-field-value>
            </field-value>
            <tag>
                <tag-item>true</tag-item>
                <tag-item>false</tag-item>
            </tag>
        </field>
    </field-group>
    <field-group>
        <name>propertiesUrl</name>
            <field field-type="string">
            <name>vendorUrls</name>
            <field-value>
                <default-field-value></default-field-value>
                <option-value-pair>
                    <option-name>oracle-thin</option-name>
                    <conditional-value>jdbc:oracle:thin</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>derby_net</option-name>
                    <conditional-value>jdbc:derby://</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>derby_embedded</option-name>
                    <conditional-value>jdbc:derby:</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>sun_db2</option-name>
                    <conditional-value>jdbc:sun:db2:</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>sun_msftsql</option-name>
                    <conditional-value>jdbc:sun:sqlserver:</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>sun_oracle</option-name>
                    <conditional-value>jdbc:sun:oracle:</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>sun_sybase</option-name>
                    <conditional-value>jdbc:sun:sybase:</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>post-gre-sql</option-name>
                    <conditional-value>jdbc:postgresql:</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>microsoft_sql</option-name>
                    <conditional-value>jdbc:sqlserver:</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>jtds_sql</option-name>
                    <conditional-value>jdbc:jtds:sqlserver:</conditional-value>
                </option-value-pair>
                <option-value-pair>
                     <option-name>jtds_sybase</option-name>
                    <conditional-value>jdbc:jtds:sybase:</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>oracle</option-name>
                    <conditional-value>jdbc:oracle:oci8:</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>db2</option-name>
                    <conditional-value>jdbc:db2:</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>jdbc-odbc-bridge</option-name>
                    <conditional-value>jdbc:odbc:</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>sql-server</option-name>
                    <conditional-value>jdbc:weblogic:mssqlserver4:</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>sybase2</option-name>
                    <conditional-value>jdbc:sybase:Tds:</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>cloudscape</option-name>
                    <conditional-value>jdbc:cloudscape:</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>informix</option-name>
                    <conditional-value>jdbc:informix-sqli:</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>mysql</option-name>
                    <conditional-value>jdbc:mysql:</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>pointbase</option-name>
                    <conditional-value>jdbc:pointbase:</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_sql</option-name>
                    <conditional-value>jdbc:datadirect:sqlserver:</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_oracle</option-name>
                    <conditional-value>jdbc:datadirect:oracle:</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_db2</option-name>
                    <conditional-value>jdbc:datadirect:db2:</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_informix</option-name>
                    <conditional-value>jdbc:datadirect:informix:</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>datadirect_sybase</option-name>
                    <conditional-value>jdbc:datadirect:sybase:</conditional-value>
                </option-value-pair>
                <option-value-pair>
                    <option-name>as400</option-name>
                    <conditional-value>jdbc:as400:</conditional-value>
                </option-value-pair>
            </field-value>
        </field>
    </field-group>    
</wizard>

New to GrepCode? Check out our FAQ X