Thomas Mueller wrote:
Hi Julian,

so far I haven't seen a proposal how the desired semantics (query
operating on the transient state) can be implemented efficiently at all,

As far as I know, old Hibernate and JPA works like this (except
objects that are not persisted, and detached objects; both cases are
not relevant for JCR). So it can be implemented. I would even say if
somebody wants to implement JCR using an JPA, it would be easier that
way.

... without closely coupling the transient space implementation to the
storage.

Is there a rule in the spec that says the transient space must be
decoupled (except, the rule we are talking about)?

No, not in the spec. But if you close coupling, then

1) it will be hard to remote the protocol, and

2) it will be impossible to execute the plans for an SPI layer (because it involves a generic transient layer on top of SPI).

...

Best regards, Julian

Reply via email to