public static UUID xorUUID(UUID a,UUID b){
  return new UUID(a.getMostSignificantBits() ^ b.getMostSignificantBits(),a.getLeastSignificantBits() ^ b.getLeastSignificantBits());
}

public static UUID xorUUID ( UUID a , UUID b ) { return new UUID ( a . getMostSignificantBits ( ) ^ b . getMostSignificantBits ( ) , a . getLeastSignificantBits ( ) ^ b . getLeastSignificantBits ( ) ) ; }
this method is called via reflection from the database .
