log.debug("Executing SQL update: {}", getUpdatePreferenceSQL());
stmt2.executeUpdate();
} catch (SQLException sqle) {
log.warn("Exception while setting preference", sqle);
throw new TasteException(sqle);
} finally {
IOUtils.quietClose(null, stmt1, null);
IOUtils.quietClose(null, stmt2, null);
IOUtils.quietClose(null, null, conn);
}