Tag: utf-8
-
Groovy blob and mysql
In certain occasions e.g. when you want to save scrapped html page or just a specific part of it (e.g. div with its contents) the recommendation I found is to use the blob type and save xml document as binary stream. In groovy, this is achieved in a rather simple way: class Document { int…