![]()
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Building the Database toursDBNow that you know the basics of how a Cloudscape application works, you will run a program from the JBMSTours package to create the toursDB sample database described in Chapter 1, Overview. (The installation includes a pre-built version of toursDB, which is in the /demo/databases directory under the cloudscape base directory. But for the purposes of this tutorial, do not use that version.) TASK: Run JBMSTours.CreateToursDBJBMSTours.CreateToursDB is a Java application that creates the toursDB database (and connects to it), creates all the databases dictionary objects, such as tables, indexes, and views, and then populates the core tables with data. (You will examine the dictionary objects and the data in the next chapter.) Compiled classes are included in the demo/programs/tours/JBMSTours directory. You will also find the source files there. To run JBMSTours.CreateToursDB:
The program takes a few minutes to run, depending on your configuration. While it runs, it prints messages about the tasks it is performing, such as building tables, constructing objects, and inserting data. When it is complete, it displays the following: Committed transaction and closed connection Database shut down normally CreateToursDB finished Congratulations! You have successfully built two databases, including the toursDB sample database. You are ready to move on to the next chapter.
| ||||
![]() ![]() ![]() ![]() ![]() ![]() | ![]() ![]() Cloudscape Version 3.0 ![]() For technical support, go to: www.cloudscape.com and click Support. Copyright © 1998 and 1999 Cloudscape, Inc. All rights reserved. |