wt.epm.upgrade
Class ECADMigratorR7
java.lang.Object
wt.epm.upgrade.ECADMigratorR7
- All Implemented Interfaces:
- JavaMigrator
- public class ECADMigratorR7
- extends Object
- implements JavaMigrator
Field Summary |
private static boolean |
VERBOSE
|
Method Summary |
private void |
convertBaseline(PreparedStatement selectBaseline,
PreparedStatement insertAsStoredConfig,
PreparedStatement selectBaselineMembers,
PreparedStatement selectDocType,
PreparedStatement insertAsStoredMember,
PreparedStatement deleteMember,
PreparedStatement deleteBaseline,
long assyId,
int asStoredConfigs,
int asStoredMemberRows,
int membersDeleted,
int baselinesDeleted,
DirectiveServices directive_services)
|
boolean |
runMigration(DirectiveServices directive_services)
Run the migration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERBOSE
private static final boolean VERBOSE
ECADMigratorR7
public ECADMigratorR7()
runMigration
public boolean runMigration(DirectiveServices directive_services)
throws SQLException,
WTException
- Description copied from interface:
JavaMigrator
- Run the migration.
Migrators should log all output to the given PrintWriter. This is
the log that is created by RunMigrators. It is an autoflush writer.
Migrators should return true if they successfully
completed migration and false otherwise. It is
the migrator's responsibility to log failure reasons to the
log.
Migrators should not concern themselves with committing the work
on the connection. The MigratorRunner will commit the connection
work after running each Migrator.
- Specified by:
runMigration
in interface JavaMigrator
- Parameters:
directive_services
- provide access to database, logging, and versioning information
- Throws:
SQLException
WTException
convertBaseline
private void convertBaseline(PreparedStatement selectBaseline,
PreparedStatement insertAsStoredConfig,
PreparedStatement selectBaselineMembers,
PreparedStatement selectDocType,
PreparedStatement insertAsStoredMember,
PreparedStatement deleteMember,
PreparedStatement deleteBaseline,
long assyId,
int asStoredConfigs,
int asStoredMemberRows,
int membersDeleted,
int baselinesDeleted,
DirectiveServices directive_services)
throws SQLException,
WTException
- Throws:
SQLException
WTException