UltraLite Static Java User's Guide
Data Access Using Pure Java
Connecting to and configuring your UltraLite database
You can use a Properties object to store connection information, and supply this object as an argument to getConnection along with the URL.
For an overview of connection methods, see Connecting to the database using JDBC.
The following components of the URL, described in UltraLite JDBC URLs, can be supplied either as part of the URL or as a member of a Properties object.
persist
persistfile
The jdbc:ultralite
components must be supplied in the URL.
If you wish to encrypt your database, you can do so by supplying a key property. For more information, see Encrypting UltraLite databases.