xtdb

Chris Chen 2026-04-27T03:56:08.776679Z

It seems like ... throws an error in v1 on Java 21+ when used in xt/q - apart from rewriting the query to avoid ... are there any other workarounds/fixes?

refset 2026-05-11T14:35:03.259349Z

Hey again, sorry for the delayed response. That's right, XTDB 1.x doesn't support the full range of find specs, see https://github.com/xtdb/xtdb/issues/1449

👍 1
refset 2026-04-27T13:57:17.804139Z

Hey @k.neo20030816 what's the error you're seeing? Is this specifically during destructuring? If you can share a full 'broken' example that would be great. Did you test with an earlier Java and observe it working how you expect?

Chris Chen 2026-04-29T09:52:14.205989Z

I rechecked and it seems like a me error, sorry; the ClassFormatError arose because my query builder was trying to put [[?eid ...]] in :find. No error if you put it under :in as a collection bind. Am I right to understand this is valid in Datomic/Datascript as a find-coll expression but not in XTDB? Like in the following syntax:

(xt/q (xt/db (get-xtdb))
      '{:find [[?e ...]]
        :in [[cpdl-type]]
        :where [[?e :cpdl/type ?t]
                [(clojure.core/isa? ?t cpdl-type)]]}
      [:cpdl/agent])
; Syntax error (ClassFormatError) compiling fn* at (.calva/repl.calva-repl:350:1).
; Illegal field name "..." in class scuttle/server$eval78488$fn__78489