Modifying Project Persistent 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 teh Persistence options on the Properties dialog.
  2. Use this table to complete the remaining fields on the Properties – Persistent page and click OK.

    Property Description
    Database Connection Database connection to use to store the persistent entities.
    Database Schema Schema of the Database Connection to use.

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


 

Related task

Adding Persistence to a Project

 

Related reference

Project Properties Page – Persistence Options

 

Related concept

Understanding Java Persistence