|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.admin.tools.MigrateRoutes
public class MigrateRoutes
This class will migrate pre MCA 3.5 Routes to new the new ROUTES table
Usage:
java com.bankframe.admin.tools.MigrateRoutes -url [jdbcUrl] -driver [jdbcDriver] -u [username] -p [password] -t [tablespace]
Options:
-url
The JDBC URL of the database-driver
The JDBC Driver to use to access the database. Note the driver must be in the classpath-u
The username to connect to the database as-p
The password to connect to the database as-t
The tablespace to use. This defaults to the username
Constructor Summary | |
---|---|
MigrateRoutes()
Constructor |
Method Summary | |
---|---|
int |
init(String[] args)
Initialises tool from command line parameters and starts processing |
static void |
main(String[] args)
|
void |
migrateRoutes(String url,
String driver,
String username,
String password,
String tablespace)
This method initialises tool and starts processing |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MigrateRoutes()
Method Detail |
---|
public int init(String[] args) throws SQLException
args
- is the array of String arguments from command line.
SQLException
public static void main(String[] args)
args
- String arraypublic void migrateRoutes(String url, String driver, String username, String password, String tablespace) throws SQLException
url
- is the JDBC URL of the databasedriver
- is the JDBC Driver to use to access the database.
Note the driver must be in the classpath");username
- is the username to connect to the database as");password
- is the password to connect to the database as");tablespace
- is the tablespace to use. This defaults to the username");
SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |