You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by "Michael Dürig (Commented JIRA)" <ji...@apache.org> on 2012/04/05 13:17:27 UTC
[jira] [Commented] (OAK-49) Session.getRepository() should return
the object through which the Session was acquired
[ https://issues.apache.org/jira/browse/OAK-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13247148#comment-13247148 ]
Michael Dürig commented on OAK-49:
----------------------------------
I think we should remove the RepositoryAdaptor class and use a session independent value factory for creating the descriptor values.
> Session.getRepository() should return the object through which the Session was acquired
> ---------------------------------------------------------------------------------------
>
> Key: OAK-49
> URL: https://issues.apache.org/jira/browse/OAK-49
> Project: Jackrabbit Oak
> Issue Type: Bug
> Reporter: Michael Dürig
> Priority: Minor
>
> Currently we have
> {code}
> repository.login().getRepository() != repository
> {code}
> which according to JSR 283 is not correct: "The Repository object through which a Session was acquired is retrieved with Session.getRepository()" [1].
> [1] http://www.day.com/specs/jcr/2.0/4_Connecting.html#4.4.3%20Session%20to%20Repository
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira