com.bankframe.admin.tools
Class MigratePersisterTxnMap
java.lang.Object
com.bankframe.admin.tools.MigratePersisterTxnMap
- public class MigratePersisterTxnMap
- extends java.lang.Object
This class creates an SQL script with the current contents of the Persister_Txn_Map table.
This class is run before the new MCA is installed to generate an SQL script of the current Persister_Txn_Map table.
After the new MCA is installed the SQL script is run to repopulate the Persister_Txn_Map table
with the original Persister data. This may cause SQLExceptions due to migrated Persister data being already installed
by the MCA installation script. Check database after the migration script is run.
The METHODNAME column in the Persister_Txn_Map table for MCA 5.0 has a size of 100 characters.
Previously this column was 50 characters in length.
Usage:
java com.bankframe.admin.tools.MigratePersisterTxnMap -url [jdbcUrl] -driver [jdbcDriver] -u [username] -p [password] -t [tablespace] -script [script name]
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
The name of the SQL script to create with the migrated contents of the persister_txn_map table
- Author:
- ETU
Method Summary |
static void |
main(java.lang.String[] args)
|
void |
migratePersisterTxnMap(java.lang.String url,
java.lang.String driver,
java.lang.String username,
java.lang.String password,
java.lang.String tablespace,
java.lang.String script)
This method initialises tool and starts processing |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MigratePersisterTxnMap
public MigratePersisterTxnMap()
- Constructor
main
public static void main(java.lang.String[] args)
- Parameters:
args
- String array
migratePersisterTxnMap
public void migratePersisterTxnMap(java.lang.String url,
java.lang.String driver,
java.lang.String username,
java.lang.String password,
java.lang.String tablespace,
java.lang.String script)
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 asscript
- is contents script file name.tablespace
- is the tablespace to use. This defaults to the username
- Throws:
java.sql.SQLException
java.io.IOException
Copyright © 2004 Siebel Systems, Inc. All rights reserved.