InternalCacheValue icv = (InternalCacheValue) JdbcUtil.unmarshall(getMarshaller(), inputStream);
storedEntry = icv.toInternalCacheEntry(key);
}
} catch (SQLException e) {
log.sqlFailureReadingKey(key, lockingKey, e);
throw new CacheLoaderException(String.format(
"SQL error while fetching stored entry with key: %s, lockingKey: %s",
key, lockingKey), e);
} finally {
JdbcUtil.safeClose(rs);
JdbcUtil.safeClose(ps);