Saving a Database Project

You can save a Protégé-2000 project as a single table in a JDBC database. Before you do this, you will need to do the following:

Note: When a project is saved in a JDBC database, back-end changes to the database (for example, changes to slots, classes, and instances) are committed as soon as they are made. However, changes to the User Interface (which is stored in the .pprj file) are not committed until you press the Save button.

To save a project using the JDBC database project format:
  1. Create a new project using the JDBC database project format.


  2. Choose the menu item Project -> Save or click the Save button on the toolbar to bring up the "JDBC Database" dialog:



  3. To select or change the name or location of the pprj file, enter the information you want in the Project line of the dialog box. Be sure to give the file a pprj extension. To browse for a new location, click the button. If you do not specify a location for the project, by default, the project is saved in the directory where Protégé-2000 is installed.


  4. Enter the class name of your JDBC driver in the JDBC Driver line of the dialog box. The class name can be found in the documentation provided with your particular driver. For Microsoft Access, use: sun.jdbc.odbc.JdbcOdbcDriver.


  5. Enter the URL for your database in the JDBC URL line. For Microsoft Access, navigate to the "ODBC Data Source Administrator" dialog via the Control Panel and add a User DSN for your Access database. If you're unfamiliar with how to find this dialog or how to add a User DSN, please refer to Microsoft Windows Help. Your URL will look like: jdbc:odbc:<User DSN name>


  6. Type a name for the table in the Table line of the dialog box. Please note that this is a required field.


  7. If your database requires a username and/or password, enter these in the appropriate lines of the dialog box.


  8. Click OK.

You can store multiple projects in the same database by giving their tables different names.


Next: Saving an RDF Project

Project Table of Contents