/** * Returns Blob data and ensures that content is always uncompressed. * If not compressed, original Blob will be returned. * <p> * Use this method if you want to ensure that data is always uncompressed. * * @return * @throws IOException */ public InputStream getUncompressedInputStream() throws IOException { if (this.isCompressed()) { return this.compressionHandler.uncompress(in); } else { return in; } }
&& blobDS.isCompressed())