New JDBC Connection Pool: Choose Database Connection

You see this page of the New File wizard when you are defining a connection pool. On this page you name the connection pool and specify the database connection to use. You can choose an existing database connection or enter the configuration information.

Element Description
JDBC Connection Pool Name Enter the Connection Pool name.

Extract from existing connection

Choose this option if the database connection for the database you want to use already exists. The drop-down list contains connections that have already been created. When you select this option, the configuration information, including the complete URL, user name, and password, is extracted from the selected connection. To add a new connection to the list, see:

New configuration using database

If there is no suitable existing connection, you can select a driver from the list of databases with known JDBC drivers. If you would like to use a datasource that is not listed you need to first register the database driver with the IDE. To add to the list of drivers, see:

Note: If you select this option you will need to provide the connection information in the next page.

XA (Global Transaction) Select the XA (Global Transaction) radio button if using XA transactions.

Click Next to add connection pool properties.


Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.