View | Tool Windows | Data Sources | add.png or Alt+Insert | Import from Project Files

Use this dialog to create data sources by importing the configuration files that contain the necessary data definitions.

You can import the data definitions from Spring, Hibernate, JPA and Tomcat (context.xml) configuration files.

If the corresponding configuration files have been developed externally, you must add them to your project prior to performing the import.

The Import Data Sources dialog contains a table that shows a tree view of parameters and their values for the configuration files found in the project. The bottom section of the dialog shows the source code of the selected configuration file where the parameters are taken from.

ItemShortcutDescription
properties.gif Data Source Properties Click this button to open the Data Source Properties dialog box.
iconSelectAllRemoteRunDialog.gif Select All Click this button to select all locally encountered data sources.
iconUnSelectAllRemoteRunDialog.gif Unselect All Click this button to deselect all locally encountered data sources.
img Expand All
Ctrl+Add or Ctrl+Equals
Click this button to have all nodes expanded.
img Collapse All
Ctrl+Subtract or Ctrl+Minus
Click this button to have all nodes collapsed.
Test ConnectionClick this button to check whether connection to the selected data source can be established successfully.

See Also

Web Resources: