jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@adobe.com>
Subject Re: Adding nodes with references within a single transaction via webdav
Date Thu, 09 Jun 2011 14:12:10 GMT
On 09.06.11 15:45, "Johannes Stark" <starkj@gmx.de> wrote:
>But one big problem for us is that you are not able to reference a node
>until it is persisted. We also had a look at transactions: same issue.
>Referenceable nodes will get their uuid not before the transaction is
>committed. So we are not able to persist two or more content items with
>references to each other within the same transaction. Well this behavior
>is totally in accordance to the spec.

Use path/string references instead of hard references solves this easily
(plus you need to adapt those references in your application if things
move, but that is usually not very difficult).

See also 


Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel

View raw message