Forum Discussion
M_McDonald
16 years agoSuper Contributor
If you are using the encodeBase64() method in your log output, why are you not using the same when assigning to the context property, like this:
The property expansion will do a toString() conversion; if you do
do you get the base64 representation or [B@156?
Just my 2 cents.
context.image = sqlResult['IMAGE'].encodeBase64()
The property expansion will do a toString() conversion; if you do
log.info sqlResult['IMAGE'].toString()
do you get the base64 representation or [B@156?
Just my 2 cents.