private static final void loadConfigProfile(AuctionMarkProfile profile, ResultSet vt) throws SQLException { boolean adv = vt.next(); assert (adv) : String.format( "Failed to get data from %s\n%s", AuctionMarkConstants.TABLENAME_CONFIG_PROFILE, vt); int col = 1; profile.scale_factor = vt.getDouble(col++); profile.loaderStartTime = vt.getTimestamp(col++); profile.loaderStopTime = vt.getTimestamp(col++); JSONUtil.fromJSONString(profile.users_per_itemCount, vt.getString(col++)); if (LOG.isDebugEnabled()) LOG.debug(String.format("Loaded %s data", AuctionMarkConstants.TABLENAME_CONFIG_PROFILE)); }