All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----JBMSTours.CreateToursDB
Main database creation program. Also populates several tables. To use, type
java JBMSTours.CreateToursDB
.
Use
the parameter "syncsource" if you want to create a synchronization source database.
Another legal parameter is extra.
Use of this parameter is for
building the pre-built version of the database included with
the installation. It puts extra data into some tables, preloads the JDBC metadata
stored prepared statements and the SysVisual stored prepared statements,
and automatically runs JBMSTours.BuildATour four times. To use this
parameter, you must have tools.jar in your class path in addition
to cloudscape.jar.
Most users will not use this parameter. Use one or the other
(extra
or syncsource
), not both.
java JBMSTours.CreateToursDB syncsource
java JBMSTours.CreateToursDB extra
By default, this application runs in the embedded mode. To run it as a
client application accessing a running Cloudconnect,
give the hostname
and the port number of the Cloudconnector you want to connect to. For example:
java JBMSTours.CreateToursDB jeeves 7001
To combine those arguments with other parameters, put them last.
java JBMSTours.CreateToursDB syncsource jeeves 7001
java JBMSTours.CreateToursDB extra jeeves 7001
To run it as a client application accessing RmiJdbc Server, add the single character 'r' after
hostname and port number. For example:
java JBMSTours.CreateToursDB localhost 1099 r
java JBMSTours.CreateToursDB syncsource localhost 1099 r
What this application does:
public CreateToursDB()
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index