Connecting to a Pointbase Database

See Also

The Pointbase database was the sample database bundled with Sun Java System Application Server 8.1.

When you install the Sun Java System Application Server 8.1, the Pointbase database JDBC drivers are installed and the Pointbase Database Server is installed into the Sun/AppServer/pointbase directory. The following sample databases are installed with the Pointbase installation:

When you register an instance of Sun Java System Application Server 8.1 in the IDE, the sample databases are registered in the Services window and the Pointbase Database menu appears in the Tools menu. You can use the commands in the Pointbase Database menu to start and stop the Pointbase database.

To connect to the Pointbase sample database:
  1. Make sure the Pointbase Database Server is running. You can start the database server by choosing Tools > Pointbase Database > Start Local Pointbase Database. A message appears in the Output window confirming that the Pointbase server has started and which port the server is listening on.
  2. In the Services window, expand the Databases node and the Drivers node.
  3. Right-click the Pointbase driver node and choose Connect Using.
  4. In the New Database Connection dialog box, ensure that Pointbase is selected as the name in the drop-down menu and that the Driver field contains the Pointbase driver:
    com.pointbase.jdbc.jdbcUniversalDriver.
  5. Enter the URL of the Pointbase database. The URL format is given in the textbox:
    jdbc:pointbase://<HOST>[:<PORT>]/<DB>

    To connect to the sample Pointbase database bundled with the default Sun Java System Application Server installation, the URL should look like this:
    jdbc:pointbase://localhost:9092/sample

  6. Enter the User name and Password. The username / password for the sample database is pbpublic / pbpublic.
  7. Click OK.

Notes:

See Also
Connecting to a Database

Legal Notices