Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » UltraLite - Java Programming » UltraLiteJ application development » Code examples


Java SE example: Creating a database

Run the Java SE sample to understand how to create a file system database store in a Java SE Java environment.


There are no prerequisites for this task.

Contexte et remarques

The Configuration object is used to create the database. Once created, a Connection object is returned. To create tables, the schemaUpdateBegin method is invoked to start changes to the underlying schema and the schemaUpdateComplete method completes changing the schema.

  1. Change to the following directory: %SQLANYSAMP16%\UltraLiteJ\J2SE.

  2. Run the CreateDb example:

    rundemo CreateDb


The application runs successfully. An UltraLite Java edition file system database store is created.