staticConfig.getBootstrapDBUsername(),
staticConfig.getBootstrapDBPassword(),
staticConfig.getBootstrapDBHostname(),
staticConfig.getBootstrapDBName());
BootstrapDBMetaDataDAO dao = new BootstrapDBMetaDataDAO(_bootstrapConn,
staticConfig.getBootstrapDBHostname(),
staticConfig.getBootstrapDBUsername(),
staticConfig.getBootstrapDBPassword(),
staticConfig.getBootstrapDBName(),
autoCommit);
SourceStatusInfo srcStatusInfo = dao.getSrcIdStatusFromDB(sourceName, false);
if (srcStatusInfo.getSrcId() >= 0 )
{
dao.dropSourceInDB(srcStatusInfo.getSrcId());
}
dao.addNewSourceInDB(sourceName,BootstrapProducerStatus.ACTIVE);
srcStatusInfo = dao.getSrcIdStatusFromDB(sourceName, false);
setBootstrapLoginfoTable(_bootstrapConn, 0, Long.MAX_VALUE);
//insert one row
insertOneSnapshotEvent(dao, srcStatusInfo.getSrcId(), Long.MAX_VALUE - 10,