Hi,

Oak internally branches in some cases, but this is not exposed in the JCR
API (you can not enforce creating a branch).

Regards,
Thomas

On 26/11/14 18:56, "John Gretz" <[email protected]> wrote:

>Hey guys, a newbie Oak question:
>Since there is support for a single workspace only in Oak, is there a
>good mechanism to simulate scenarios like below using branches in Oak?
>The JCR-compliant queries are unaware of Oak MK branches, so is there a
>way to use the Oak's Query to query on a particular branch only?
>Say in the context of multi-user authoring env. where users can work on
>different projects simultaneously:- author1 runs a query and gets some
>result- author2 runs the same query and sees the same result- author1
>changes some data in the result set and commits to a branch- author1 then
>runs the query in the context of his branch and sees his changed nodes-
>author2 runs the query and still sees the unchanged nodes from the base
>revision
>How do people usually manage such scenarios with Oak? Adobe's AEM 6 has
>been using Oak for a few months now, wonder how they handle such
>concurrent "projects" scenarios...
>Thx!

Reply via email to