The `^` HQL operator (bitwise xor) fails with SQLite, which has no built-in support for it. But it can be emulated with a template.