String storageNodeAddress, String version) throws Exception {
Connection connection = null;
try {
connection = DbUtil.getConnection(connectionUrl, username, password);
StorageNodeVersionColumnUpgrader versionColumnUpgrader = new StorageNodeVersionColumnUpgrader();
versionColumnUpgrader.upgrade(connection, version);
int rowsUpdated = versionColumnUpgrader.setVersionForNodeWithAddress(connection, version,
storageNodeAddress);
if (1 != rowsUpdated) {
throw new IllegalStateException("Expected [1] StorageNode update but updated [" + rowsUpdated + "].");
}