6 Replies Latest reply on Jan 4, 2013 10:05 AM by rhauch

    JCR SQL2 query by node identifier?

    jonathandfields

      I hope that I have not missed something obvious, but it is possible to include a node's internal identifier (Node.getIdentifier()) in a JCR SQL2 query condition? I don't see it in the spec or documentation, and have tried a few things like [mode:uuid] but so far no luck. If not, I'm assuming that the equivalent would be to make the node type mix:referenceable, and then include jcr:uuid in the query....

       

      Thanks, Jon.