code: @Override
      public final byte[] toBytes(Object object)
      {
          if (object != null)
          {
              Long l = (Long) object;
              ByteBuffer buffer = ByteBuffer.allocate(8);
              buffer.putLong(l);
              return buffer.array();
          }
          if (log.isWarnEnabled())
          {
              log.warn("Object is null.");
          }
          return null;
      }
docs: /*
  (non-Javadoc)
  
  @see
  com.impetus.kundera.property.PropertyAccessor#toBytes(java.lang.Object)