ps = connection.prepareStatement(sql);
updateStatement(entry, keyStr, ps);
ps.executeUpdate();
} catch (SQLException ex) {
log.sqlFailureStoringKey(keyStr, ex);
throw new CacheLoaderException(String.format("Error while storing string key to database; key: '%s'", keyStr), ex);
} catch (InterruptedException e) {
if (log.isTraceEnabled()) {
log.trace("Interrupted while marshalling to store");
}
Thread.currentThread().interrupt();