Contents Index Connecting to the database using JDBC Using a Properties object to store connection information

UltraLite Static Java User's Guide
  Data Access Using Pure Java
    Connecting to and configuring your UltraLite database

UltraLite JDBC URLs


The URL is a required argument to the DriverManager.getConnection method used to connect to UltraLite databases.

For an overview of connection methods, see Connecting to the database using JDBC.

The syntax for UltraLite JDBC URLs is as follows:

jdbc:ultralite:[database:persist:persistfile][;option=value...]

The components are all case sensitive, and have the following meanings:

Alternatively, you can connect using a Properties object. The following properties may be specified. Each have the same meaning as in the explicit URL syntax above:


Contents Index Connecting to the database using JDBC Using a Properties object to store connection information