com.bankframe.admin.tools
Class MigrateMetaData
java.lang.Object
|
+--com.bankframe.admin.tools.MigrateMetaData
- public class MigrateMetaData
- extends java.lang.Object
This class migrates the Meta-data txn_field table prior to MCA 4.0 to the MCA 4.0 style meta-data tables
Usage:
java com.bankframe.admin.tools.MigrateMetaData -url [jdbcUrl] -driver [jdbcDriver] -u [username] -p [password] -t [tablespace] -script [script file name] [-OnlyScript] [-DB2ScriptFormat]
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
-script Once the meta-data has been converted the contents of the meta-data tables are extracted to an SQL script file.
If this is null no script is created
-OnlyScript This option specifies that only the script is to be updated
from the new tables that have been previously updated, the database tables are not changed
|
Method Summary |
static void |
main(java.lang.String[] args)
|
void |
migrateMetaData(java.lang.String url,
java.lang.String driver,
java.lang.String username,
java.lang.String password,
java.lang.String tablespace,
java.lang.String script,
boolean onlyScript)
This method initialises tool and starts processing |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MigrateMetaData
public MigrateMetaData()
- Constructor
main
public static void main(java.lang.String[] args)
- Parameters:
args - String array
migrateMetaData
public void migrateMetaData(java.lang.String url,
java.lang.String driver,
java.lang.String username,
java.lang.String password,
java.lang.String tablespace,
java.lang.String script,
boolean onlyScript)
throws java.sql.SQLException,
java.io.IOException
- This method initialises tool and starts processing
- Parameters:
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 classpathusername - is the username to connect to the database aspassword - is the password to connect to the database astablespace - is the tablespace to use. This defaults to the usernamescript - is contents script file name. Once the meta-data has been
converted the contents of the meta-data tables are extracted to an SQL script file.
If this is null no script is created.onlyScript - specifies that only the script is to be updated. This uses the
new database tables created previously, the database tables are not affected.
java.sql.SQLException
java.io.IOException
Copyright © 2005 Siebel Systems, Inc. All rights reserved.