Store compressed data to blob column
843859Jul 26 2010 — edited Nov 20 2014Hi,
I compressed a String using class Deflator and stored it to a blob column in MySQL 5.1 database table.
After reading the compressed string out of the table the read string is different.
Is there a way to save and restore compressed data to/from a database?
I am looking for a general, database-independent solution - e.g. not MySQL compress() or self compressing columns (PostgreSQL).
Who can help?
Thank you