All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JBMSTours.CreateScript

java.lang.Object
   |
   +----JBMSTours.CreateScript

public class CreateScript
extends Object
Look at the Source.

Run this program and redirect the output to a .sql file to create a script that you can run within ij to re-create the clean database in any name of your choosing. ToursDB must already be built to run this program. It creates all the tables but only re-populates the core tables, as if you ran CreateToursDB. The SQL script this program makes will take much longer to run than CreateToursDB because it does not use prepared statements.

This class has a main() method and can be run from the command-line. For complete instructions on how to run it, see the example instructions.


Variable Index

 o mymode
Whether you are running in embedded or client/server mode.

Constructor Index

 o CreateScript()

Method Index

 o main(String[])
Entry point into archiving data.

Variables

 o mymode
 public ApplicationMode mymode
Whether you are running in embedded or client/server mode.

Constructors

 o CreateScript
 public CreateScript()

Methods

 o main
 public static void main(String args[])
Entry point into archiving data.

Parameters:
args - ignored

All Packages  Class Hierarchy  This Package  Previous  Next  Index