String producerSql = PRODUCER_SCN_STMT_SQL_PREFIX + sources + PRODUCER_SCN_STMT_SQL_SUFFIX;
// Get Applier SCN
LOG.info("Executing Applier SCN Query :" + applierSql);
getScnStmt = conn.prepareStatement(applierSql);
rs=new BootstrapDBTimedQuery(getScnStmt,_config.getQueryTimeoutInSec()).executeQuery();
if (rs.next())
{
startScn = rs.getLong(1);
}
DBHelper.close(rs,getScnStmt, null);
rs = null;
getScnStmt = null;
// Get ProducerSCN
LOG.info("Executing Producer SCN Query :" + producerSql);
getScnStmt = conn.prepareStatement(producerSql);
rs = new BootstrapDBTimedQuery(getScnStmt,_config.getQueryTimeoutInSec()).executeQuery();
if (rs.next())
{
producerScn = rs.getLong(1);
}