Create data source

  1. In Project Management, click on the image not found Icon

  2. In the following dialog you can choose between MicroStream and JPA. There click JPA and press Next >.

Connect existing data source

  1. At Persistence Unit select the desired Persistence Unit.

  2. At Data Source select the sample database H2 Northwind.

  3. Click Finish.

Create new data source

  1. Make sure that your database server is running.

  2. Click New > Connection Profile to create a new data source.

  3. In the following dialog select your database, e.g. MySQL, and click Next >.

    image not found

  4. Click Create Driver in the following dialog to load the JDBC driver for your database.

    image not found

  5. Enter the connection data to your database at Properties.

  6. Click Test Connection to test the connection.

  7. Click Next > and finally click Finish.

  8. Select the correct Hibernate dialect for your database at Dialect and click Finish.


The new data source is created in the Eclipse Data Source Explorer created and included in your project.


You can also create new data sources directly in the Data Source Explorer.