Contents Index Running the UltraLite Java sample Using the UltraLite JdbcDatabase.connect method

UltraLite Static Java User's Guide
  Data Access Using Pure Java

Connecting to and configuring your UltraLite database


This section describes how to connect to an UltraLite database. It describes the recommended UltraLite method for connecting to your database, and also how you can use the standard JDBC connection model to connect.

Connections to UltraLite databases have no user IDs or passwords. For more information, see User authentication.

UltraLite Java databases can be persistent (stored in a file when the application closes) or transient (the database vanishes when the application is closed). By default, they are transient.

You configure the persistence of your UltraLite database when connecting to it. This section describes how to configure your UltraLite database.


Using the UltraLite JdbcDatabase.connect method
Loading and registering the JDBC driver
Connecting to the database using JDBC
UltraLite JDBC URLs
Using a Properties object to store connection information
Connecting to multiple databases
Configuring the UltraLite Java database

Contents Index Running the UltraLite Java sample Using the UltraLite JdbcDatabase.connect method