code: @Override
      public byte[] toBytes(Object object)
      {
          if (object == null)
          {
              return null;
          }
          BigInteger b = (BigInteger) object;
          return b.toByteArray();
      }
docs: /*
  (non-Javadoc)
  
  @see
  com.impetus.kundera.property.PropertyAccessor#toBytes(java.lang.Object)