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:
- Make sure you have a database program installed on your system.
- Make sure you have a JDBC driver that is compatible with your database and the version of the
Java VM that you are using. If you are using Microsoft Access, you don't need to acquire a JDBC
driver since it's already bundled into the JDK. You can also ignore the third bulleted item in
this list.
- Rename the driver to be "driver.jar" (or "driver1.jar" or
"driver2.jar" if you have several). Add this driver to the
Protege-2000 installation directory (NOT the plugins directory).
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:
- Create a new project using the JDBC database project
format.
- Choose the menu item Project -> Save or click the Save button on the toolbar to bring up the
"JDBC Database" dialog:

- 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.
- 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.
- 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>
- Type a name for the table in the Table line of the dialog box. Please note that this is a
required field.
- If your database requires a username and/or password, enter these in the appropriate lines of
the dialog box.
- 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