String entityName = (String) context.get("entityName");
String fieldName = (String) context.get("fieldName");
EntityListIterator eli = null;
try {
eli = delegator.find(entityName, null, null, null, null, null);
GenericValue currentValue;
while ((currentValue = eli.next()) != null) {
byte[] bytes = currentValue.getBytes(fieldName);
if (bytes != null) {
currentValue.setBytes(fieldName, bytes);