IntelliJ IDEA 11.1 Web Help

10.5+
Some features described here are available in Ultimate edition only.

You can create a data source of the required type from scratch or by importing the configuration files that contain the necessary data definitions.

IntelliJ IDEA recognizes Spring, Hibernate, JPA and Tomcat (context.xml) configuration files. If the corresponding files have been developed externally, you must add them to your project prior to performing the import.

In this section:

To import a data source
  1. Open the Data Sources tool window.
  2. Do one of the following:
    • Click add on the toolbar.
    • Press Alt+InsertControl N .
    • Select add Add Data Source in the context menu.
  3. To import one or more data sources by importing the corresponding configuration files, choose icon_DataSourceImport Import from Project Files. Select the configuration files of interest in the Import Data Sources dialog.
To create a data source
  1. Open the Data Sources tool window.
  2. To start creating a data source, do one of the following:
    • Click add on the toolbar.
    • Press Alt+InsertControl N .
    • Select add Add Data Source in the context menu.
  3. Select the type of the data source or the import option:

See Also

Concepts:

Procedures:

Reference:

Web Resources: