Creating a model database

If you choose the database storage option for your models, you must create a model database on your local machine, or specify a remote database:

  1. Start the Create Component Model Database wizard by either of two methods:
    • Select File > New > Other > OpenEdge > Tools for Business Logic > Create Component Model Database.
    • Select Window > Preferences. In the left pane of the Preferences window, expand Progress OpenEdge and then Tools for Business Logic, and select Component Model Database. Then click New.
  2. In the Component Model Database dialog, click New.
  3. Enter a logical name for the database and click Next.
  4. If creating a new database on your local machine, click Create new database to make the fields writable.
    Note: If specifying a remote database, leave the Create new database field unchecked, and skip to step 10.
  5. In the Component model database path field, enter the complete file path to the .db file that you want to create. You can either type the path and file name; or, click Browse, navigate to the directory where you want to create the database, enter a file name with a .db extension, and click Save to insert the path.
  6. Enter a service name or port number for the database server.
  7. Enter any additional parameters for the database server.
  8. If you want the database server to start automatically when you start Progress Developer Studio for OpenEdge and to stop when you quit, click the check box.
  9. If you want to create the database with default settings, click Finish. OpenEdge creates the database, assigning administrator privileges to your login name, with no password. No projects are associated with the database. You can associate projects and, if necessary, change the login values in the Database Settings dialog.
  10. Click Next if any of the following apply:
    • You are specifying a remote database.
    • You want to add a password for the administrator's login to a local database.
    • You want to specify projects for which component models will be stored in the database.
    Note: If you clicked Next in the preceding step, you see fields for database connection settings. Any values that you entered on the preceding page appear. If you are creating a new local database, you need not make any changes on this dialog. Your login name is proposed by default as the DBA user; you can optionally change this User value and/or add a DBA password. If you specified no values on the preceding page, enter a remote host name, service name or port number, a valid database user name, and the user's password if necessary.
  11. Click Finish if you want to create the database without associating projects, or click Next to specify projects for which component models will be stored in the database.
  12. If you clicked Next in the preceding step, you see the Tools for Business Logic Project Association dialog. To associate all projects with this database, click Add All. To associate projects selectively, click those projects for which you plan to store component models, and click Add. Then click Finish to complete the database creation process.
    Note: Progress Developer Studio for OpenEdge does not support the use of multiple component model databases. You can create only one per workspace.