Contents Index Building UltraLite Java applications Compiling UltraLite Java applications

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

Generating UltraLite Java classes


When you have prepared a reference database, defined an UltraLite project for your application, and added SQL statements to define your data access features, all the information the generator needs is inside your reference database.

For general information on the UltraLite generator, see Generating the UltraLite data access code. For command-line options, see The UltraLite generator.

The generator output is a Java source file with a filename of your choice. Depending on the design of your database and the sophistication of the database functionality your application requires, this file can vary greatly in both size and content.

There are several ways to customize the UltraLite generator output, depending on the nature of your application.

Overview 

You generate the classes by running the UltraLite generator against the reference database.

To run the UltraLite generator

Common command-line combinations 

When you are generating Java code, there are several options you may want to specify:

Example 

Contents Index Building UltraLite Java applications Compiling UltraLite Java applications