Modifying persistent project properties


Each persistent project must be associated with a database connection. To create a new database connection, click Database Connection use the New Connection wizard.

Use this procedure to modify the database associated with your persistent project.

  1. Right-click the project in the Explorer view and select Properties. The Properties page appears.

    Properties – Persistence Page

    This figure shows the Java Persistence options on the Properties dialog.
  2. Use this table to complete the remaining fields on the Properties – Java Persistence page and click OK.

    Property Description
    Database Connection Database connection to use to store the persistent entities. To reconnect to the selected connection, click Reconnect.
    Database Schema Schema of the Database Connection to use.

    Note: You must be connected to the database before selecting the schema.


To create a new connection, click Add connections.

 

Related task

Adding persistence to a Java project

 

Related reference

Project Properties page – Persistence Options

 

Related concept

Understanding Java persistence