Using the Ingres Demonstration Application

This section contains the following topics:

Ingres Demonstration Application

What You Should Know

Start the Ingres Demonstration Application

Get Help on the Demonstration Application

Previous Topic

Next Topic

Ingres Demonstration Application

Ingres provides a sample transactional based application that demonstrates common programming tasks required to develop an application using Ingres.

The application shows how information is retrieved from Ingres and presented in a user interface control. Novice users can "borrow" code from the application to use in their own application development.

The demonstration application provides a working example of the main tasks required to insert, update, and retrieve data from an Ingres database, including:

Previous Topic

Next Topic

What You Should Know

The application developer should be familiar with the development language and environment, and somewhat familiar with SQL.

Previous Topic

Next Topic

Start the Ingres Demonstration Application

You can access the demonstration application if you opted to create and populate a demonstration database during the installation process.

When the application is started, it automatically connects to the database, demodb, on the local Ingres instance.

To start the demonstration application

Run IngresDemoApp.exe, located in the following directory:

%II_SYSTEM%\ingres\demo\xxxxxx\travel\app

where xxxxxx is the language, IDE, or software framework that the application is developed in. For example:

C# application: %II_SYSTEM%\ingres\demo\csharp\travel\app.

Eclipse Java application: %II_SYSTEM%\ingres\demo\Eclipse\travel\app.

Note: The source code for the application resides in: %II_SYSTEM%\ingres\demo\xxxxxx\travel\solution.

Previous Topic

Next Topic

Get Help on the Demonstration Application

Each user interface control that displays data retrieved from an Ingres database has contextual help that includes instructions, source code, and query excerpts.

To display contextual help

The procedure for displaying contextual help depends on the application. For example:

C# Application: Press the help button Help Button in the upper right corner of the window, and then select a user interface control.

Eclipse Java Application: Press the help tab in the results part of the window, or press F1.


© 2007 Ingres Corporation. All rights reserved.