code: public static String encodeByteArray(byte[] byteArray) {
  		try {
  			return new String(Base64.encodeBase64(byteArray), UTF8_ENCODING);
  		} catch(UnsupportedEncodingException e) {
  			throw new MappingException("Could not encode byteArray to UTF8 encoding", e);
  		}
  	}
docs: Encodes byteArray value into a base64-encoded string.
  
  @return string representation of the date value