|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.admin.tools.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(java.lang.String[] args)
Initialises tool from command line parameters and starts processing |
static void |
main(java.lang.String[] args)
|
void |
migrateRoutes(java.lang.String url,
java.lang.String driver,
java.lang.String username,
java.lang.String password,
java.lang.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(java.lang.String[] args) throws java.sql.SQLException
args
- is the array of String arguments from command line.
java.sql.SQLException
public static void main(java.lang.String[] args)
args
- String arraypublic void migrateRoutes(java.lang.String url, java.lang.String driver, java.lang.String username, java.lang.String password, java.lang.String tablespace) throws java.sql.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");
java.sql.SQLException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |