[ https://issues.apache.org/jira/browse/OAK-9416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17329238#comment-17329238 ]
Angela Schreiber commented on OAK-9416: --------------------------------------- [~kwin], the layers you describe don't properly reflect the architecture of oak. see the link i sent in reply to your initial post on oak-dev. i agree with [~reschke] that leaking Oak API in the JCR space looks really bad. so, i am also -1 on that one. > Add bridge method to get Oak ContentSession from JCR Session > ------------------------------------------------------------ > > Key: OAK-9416 > URL: https://issues.apache.org/jira/browse/OAK-9416 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: jcr > Reporter: Konrad Windszus > Assignee: Konrad Windszus > Priority: Major > > Currently there is simple way to use the [Oak > API|https://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/oak/api/package-summary.html] > when one has only a JCR object (backed by a Oak repository) at hand. > There should be simple conversion method from JCR Session to Oak Content > Session which throws an exception in case the JCR Session is not backed by > Oak. > There was a related discussion at > https://lists.apache.org/thread.html/r69c8b1bbe831d50e5aa3a19f4da9773e03794cf2946c63971ece81e3%40%3Cdev.jackrabbit.apache.org%3E -- This message was sent by Atlassian Jira (v8.3.4#803005)