stmt.setString(2, value);
rows = stmt.executeUpdate();
if (rows == 0)
{
throw new PersistenceException(
"Failed to insert new application property (" + key + ")");
}
}
} catch (SQLException e)
{
throw new PersistenceException(
"Failed to set application property (" + key + ")", e);
}
}